Index: runtime/observatory/tests/service/break_on_function_test.dart |
diff --git a/runtime/observatory/tests/service/break_on_function_test.dart b/runtime/observatory/tests/service/break_on_function_test.dart |
index bbe907922a591177a04c28f0e3ee41f839952104..1988578679b9479595be6955ee6a176454dd83bc 100644 |
--- a/runtime/observatory/tests/service/break_on_function_test.dart |
+++ b/runtime/observatory/tests/service/break_on_function_test.dart |
@@ -40,31 +40,11 @@ hasStoppedAtBreakpoint, |
resumeIsolate, |
hasStoppedAtBreakpoint, |
- |
-// We are at the breakpoint on line 11. |
-(Isolate isolate) async { |
- ServiceMap stack = await isolate.getStack(); |
- expect(stack.type, equals('Stack')); |
- expect(stack['frames'].length, greaterThanOrEqualTo(1)); |
- |
- Script script = stack['frames'][0].location.script; |
- expect(stack['frames'][0].location.tokenPos, equals(22)); |
-}, |
- |
+stoppedAtLine(11), |
resumeIsolate, |
hasStoppedAtBreakpoint, |
- |
-// We are at the breakpoint on line 11. |
-(Isolate isolate) async { |
- ServiceMap stack = await isolate.getStack(); |
- expect(stack.type, equals('Stack')); |
- expect(stack['frames'].length, greaterThanOrEqualTo(1)); |
- |
- Script script = stack['frames'][0].location.script; |
- expect(stack['frames'][0].location.tokenPos, equals(22)); |
-}, |
- |
+stoppedAtLine(11), |
resumeIsolate, |
]; |