Skip to content

Commit

Permalink
fix build tests to expect new language version
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemac53 committed Oct 8, 2024
1 parent ccfb8f8 commit 31f53ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/test/generate/run_builder_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void main() {
config.packages.singleWhere((p) => p.name == 'build');
expect(buildPackage.root, Uri.parse('asset:build/'));
expect(buildPackage.packageUriRoot, Uri.parse('asset:build/lib/'));
expect(buildPackage.languageVersion, LanguageVersion(3, 5));
expect(buildPackage.languageVersion, LanguageVersion(3, 6));

final resolvedBuildUri =
config.resolve(Uri.parse('package:build/foo.txt'))!;
Expand All @@ -106,7 +106,7 @@ void main() {
Package(
'build',
Uri.file('/foo/bar/'),
languageVersion: LanguageVersion(3, 5),
languageVersion: LanguageVersion(3, 6),
),
]),
);
Expand Down

0 comments on commit 31f53ff

Please sign in to comment.