Index: runtime/observatory/tests/service/debugger_inspect_test.dart |
diff --git a/runtime/observatory/tests/service/debugger_inspect_test.dart b/runtime/observatory/tests/service/debugger_inspect_test.dart |
index 269a1234596d22eca8c21bd2103b77a2b2338d0c..a70fe486c22ef061cb0d77f35e6f8665db48c959 100644 |
--- a/runtime/observatory/tests/service/debugger_inspect_test.dart |
+++ b/runtime/observatory/tests/service/debugger_inspect_test.dart |
@@ -19,24 +19,22 @@ void testeeDo() { |
} |
var tests = [ |
- |
-(Isolate isolate) async { |
- Completer completer = new Completer(); |
- var stream = await isolate.vm.getEventStream(VM.kDebugStream); |
- var subscription; |
- subscription = stream.listen((ServiceEvent event) { |
- if (event.kind == ServiceEvent.kInspect) { |
- expect(event.inspectee.clazz.name, equals('Point')); |
- subscription.cancel(); |
- completer.complete(); |
- } |
- }); |
- |
- // Start listening for events first. |
- await isolate.rootLibrary.evaluate('testeeDo();'); |
- return completer.future; |
-}, |
- |
+ (Isolate isolate) async { |
+ Completer completer = new Completer(); |
+ var stream = await isolate.vm.getEventStream(VM.kDebugStream); |
+ var subscription; |
+ subscription = stream.listen((ServiceEvent event) { |
+ if (event.kind == ServiceEvent.kInspect) { |
+ expect(event.inspectee.clazz.name, equals('Point')); |
+ subscription.cancel(); |
+ completer.complete(); |
+ } |
+ }); |
+ |
+ // Start listening for events first. |
+ await isolate.rootLibrary.evaluate('testeeDo();'); |
+ return completer.future; |
+ }, |
]; |
main(args) => runIsolateTests(args, tests); |