From 31f53ff3200acb8592722e48cbc02a3bd09f50ca Mon Sep 17 00:00:00 2001 From: Jake Macdonald Date: Tue, 8 Oct 2024 20:36:28 +0000 Subject: [PATCH] fix build tests to expect new language version --- build/test/generate/run_builder_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/test/generate/run_builder_test.dart b/build/test/generate/run_builder_test.dart index cea4f79b4..90747ba54 100644 --- a/build/test/generate/run_builder_test.dart +++ b/build/test/generate/run_builder_test.dart @@ -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'))!; @@ -106,7 +106,7 @@ void main() { Package( 'build', Uri.file('/foo/bar/'), - languageVersion: LanguageVersion(3, 5), + languageVersion: LanguageVersion(3, 6), ), ]), );