Index: runtime/observatory/tests/service/pause_on_unhandled_async_exceptions2_test.dart |
diff --git a/runtime/observatory/tests/service/pause_on_unhandled_async_exceptions2_test.dart b/runtime/observatory/tests/service/pause_on_unhandled_async_exceptions2_test.dart |
index c8e29acd71daa1d9849d4abacd3e9e9fa935b930..1812693b87fda160be3e42c1ea85caa71b1c908f 100644 |
--- a/runtime/observatory/tests/service/pause_on_unhandled_async_exceptions2_test.dart |
+++ b/runtime/observatory/tests/service/pause_on_unhandled_async_exceptions2_test.dart |
@@ -9,9 +9,11 @@ import 'package:unittest/unittest.dart'; |
import 'test_helper.dart'; |
import 'service_test_common.dart'; |
-const LINE_A = 27; |
+const LINE_A = 29; |
-class Foo {} |
+class Foo { |
+ |
+} |
doThrow() { |
throw "TheException"; // Line 13. |
@@ -29,6 +31,7 @@ testeeMain() async { |
var tests = [ |
hasStoppedWithUnhandledException, |
+ |
(Isolate isolate) async { |
print("We stoppped!"); |
var stack = await isolate.getStack(); |
@@ -39,10 +42,12 @@ var tests = [ |
expect(asyncStack[2].kind, equals(M.FrameKind.asyncSuspensionMarker)); |
expect(asyncStack[3].toString(), contains('testeeMain')); |
// We've stopped at LINE_A. |
- expect( |
- await asyncStack[3].location.toUserString(), contains('.dart:$LINE_A')); |
+ expect(await asyncStack[3].location.toUserString(), |
+ contains('.dart:$LINE_A')); |
} |
]; |
-main(args) => runIsolateTests(args, tests, |
- pause_on_unhandled_exceptions: true, testeeConcurrent: testeeMain); |
+main(args) => runIsolateTests(args, |
+ tests, |
+ pause_on_unhandled_exceptions: true, |
+ testeeConcurrent: testeeMain); |