diff --git a/bin/internal/engine.version b/bin/internal/engine.version index 105268404fa..7c16aa6e81b 100644 --- a/bin/internal/engine.version +++ b/bin/internal/engine.version @@ -1 +1 @@ -d1afda52d254f5f1faf79e51fe430d912d6db3ee +9a6c64de8a4694cef59a338cd33ac1a9e7d23d9d diff --git a/packages/flutter_tools/test/integration.shard/analyze_once_test.dart b/packages/flutter_tools/test/integration.shard/analyze_once_test.dart index 6f78a977c6d..caf9a5e8448 100644 --- a/packages/flutter_tools/test/integration.shard/analyze_once_test.dart +++ b/packages/flutter_tools/test/integration.shard/analyze_once_test.dart @@ -33,7 +33,7 @@ void main() { expect(result.stderr, contains(exitMessageContains)); } - void createDotPackages(String projectPath, [bool nullSafe = false]) { + void createDotPackages(String projectPath) { final StringBuffer flutterRootUri = StringBuffer('file://'); final String canonicalizedFlutterRootPath = fileSystem.path.canonicalize(getFlutterRoot()); if (platform.isWindows) { @@ -51,19 +51,19 @@ void main() { "name": "flutter", "rootUri": "$flutterRootUri/packages/flutter", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.0" }, { "name": "sky_engine", "rootUri": "$flutterRootUri/bin/cache/pkg/sky_engine", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.0" }, { "name": "flutter_project", "rootUri": "../", "packageUri": "lib/", - "languageVersion": "${nullSafe ? "2.12" : "2.7"}" + "languageVersion": "2.7" } ] } @@ -109,20 +109,6 @@ void main() { ); }); - testWithoutContext('passing one file with errors are detected', () async { - await runCommand( - arguments: ['analyze', '--no-pub', errorFile.path], - statusTextContains: [ - 'Analyzing error.dart', - "error $analyzerSeparator Target of URI doesn't exist", - "error $analyzerSeparator Expected to find ';'", - 'error $analyzerSeparator Unterminated string literal', - ], - exitMessageContains: '3 issues found', - exitCode: 1 - ); - }); - testWithoutContext('passing more than one file with errors', () async { await runCommand( arguments: ['analyze', '--no-pub', libMain.path, errorFile.path],