Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(727)

Unified Diff: runtime/observatory/tests/service/debugger_inspect_test.dart

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698