diff --git a/dev/automated_tests/flutter_test/exception_handling_expectation.txt b/dev/automated_tests/flutter_test/exception_handling_expectation.txt index ef370115b9..2a5f54e746 100644 --- a/dev/automated_tests/flutter_test/exception_handling_expectation.txt +++ b/dev/automated_tests/flutter_test/exception_handling_expectation.txt @@ -9,7 +9,7 @@ When the exception was thrown, this was the stack: #(1|2) .+ \(package:flutter_test[/\\]src[/\\]widget_tester\.dart:[0-9]+:[0-9]+\) <> -^\(elided [0-9]+ frames.+$ +^\(elided ([0-9]+|one) frame.+$ <> The test description was: Exception handling in test harness - string @@ -29,7 +29,7 @@ When the exception was thrown, this was the stack: #(1|2) .+ \(package:flutter_test[/\\]src[/\\]widget_tester\.dart:[0-9]+:[0-9]+\) <> -^\(elided [0-9]+ .+$ +^\(elided ([0-9]+|one) .+$ <> The test description was: Exception handling in test harness - FlutterError @@ -52,7 +52,7 @@ When the exception was thrown, this was the stack: <> #[0-9]+ +.+ \(package:flutter_test[/\\]src[/\\]widget_tester\.dart:[0-9]+:[0-9]+\) <> -^\(elided [0-9]+ .+$ +^\(elided ([0-9]+|one) .+$ <> The test description was: Exception handling in test harness - uncaught Future error diff --git a/dev/automated_tests/flutter_test/test_async_utils_unguarded_expectation.txt b/dev/automated_tests/flutter_test/test_async_utils_unguarded_expectation.txt index c5b94b9bbe..04e7904a35 100644 --- a/dev/automated_tests/flutter_test/test_async_utils_unguarded_expectation.txt +++ b/dev/automated_tests/flutter_test/test_async_utils_unguarded_expectation.txt @@ -15,11 +15,11 @@ statement in front of the call to the first\. When the first method was called, this was the stack: <> -(elided [0-9]+ frames from .+) +(elided ([0-9]+|one) frames? from .+) When the exception was thrown, this was the stack: <> -(elided [0-9]+ frames from .+) +(elided ([0-9]+|one) frames? from .+) The test description was: TestAsyncUtils - handling unguarded async helper functions