diff --git a/dev/automated_tests/integration_test/exception_handling_expectation.txt b/dev/automated_tests/integration_test/exception_handling_expectation.txt index bb22b2c7fa..44c2e02810 100644 --- a/dev/automated_tests/integration_test/exception_handling_expectation.txt +++ b/dev/automated_tests/integration_test/exception_handling_expectation.txt @@ -30,7 +30,7 @@ The following message was thrown running a test: Who lives, who dies, who tells your story\? When the exception was thrown, this was the stack: -.*(TODO\(jiahaog\): Remove --no-chain-stack-traces and replace this with the actual stack once https://github.com/dart-lang/stack_trace/issues/106 is fixed)? +#2 main. \(.+[/\\]dev[/\\]automated_tests[/\\]integration_test[/\\]exception_handling_test\.dart:16:5\) <> The test description was: Exception handling in test harness - uncaught Future error diff --git a/packages/flutter_tools/lib/src/test/runner.dart b/packages/flutter_tools/lib/src/test/runner.dart index 91494612f6..25c0effc3b 100644 --- a/packages/flutter_tools/lib/src/test/runner.dart +++ b/packages/flutter_tools/lib/src/test/runner.dart @@ -183,13 +183,6 @@ class _FlutterTestRunnerImpl implements FlutterTestRunner { return exitCode; } - if (integrationTestDevice != null) { - // Without this, some async exceptions which are caught will surface when - // debugging tests. - // TODO(jiahaog): Remove this once https://github.com/dart-lang/stack_trace/issues/106 is fixed. - testArgs.add('--no-chain-stack-traces'); - } - testArgs ..add('--') ..addAll(testFiles); diff --git a/packages/flutter_tools/test/commands.shard/hermetic/test_test.dart b/packages/flutter_tools/test/commands.shard/hermetic/test_test.dart index 6bc5f5caef..d4ff0aa7b2 100644 --- a/packages/flutter_tools/test/commands.shard/hermetic/test_test.dart +++ b/packages/flutter_tools/test/commands.shard/hermetic/test_test.dart @@ -331,7 +331,6 @@ dev_dependencies: ]); expect(fakePackageTest.lastArgs, contains('--concurrency=1')); - expect(fakePackageTest.lastArgs, contains('--no-chain-stack-traces')); }, overrides: { FileSystem: () => fs, ProcessManager: () => FakeProcessManager.any(),