Index: runtime/observatory/tests/service/inbound_references_test.dart |
diff --git a/runtime/observatory/tests/service/inbound_references_test.dart b/runtime/observatory/tests/service/inbound_references_test.dart |
index b73ace5d01b9d1d9187a3bcb1b5cfacdcf0c8874..a08f86677b1f6e19d5d85384983f868bfdf4f106 100644 |
--- a/runtime/observatory/tests/service/inbound_references_test.dart |
+++ b/runtime/observatory/tests/service/inbound_references_test.dart |
@@ -13,7 +13,7 @@ class Node { |
var edge; |
} |
-class Edge { } |
+class Edge {} |
var n, e, array; |
@@ -27,7 +27,6 @@ void script() { |
} |
var tests = [ |
- |
(Isolate isolate) async { |
var lib = await isolate.rootLibrary.load(); |
var field = lib.variables.where((v) => v.name == 'e').single; |
@@ -41,16 +40,16 @@ var tests = [ |
// Assert e is referenced by at least n, array, and the top-level |
// field e. |
- hasReferenceSuchThat((r) => r['parentField'] != null && |
- r['parentField'].name == 'edge' && |
- r['source'].isInstance && |
- r['source'].clazz.name == 'Node'); |
- hasReferenceSuchThat((r) => r['parentListIndex'] == 1 && |
- r['source'].isList); |
- hasReferenceSuchThat((r) => r['source'] is Field && |
- r['source'].name == 'e'); |
+ hasReferenceSuchThat((r) => |
+ r['parentField'] != null && |
+ r['parentField'].name == 'edge' && |
+ r['source'].isInstance && |
+ r['source'].clazz.name == 'Node'); |
+ hasReferenceSuchThat( |
+ (r) => r['parentListIndex'] == 1 && r['source'].isList); |
+ hasReferenceSuchThat( |
+ (r) => r['source'] is Field && r['source'].name == 'e'); |
} |
- |
]; |
main(args) => runIsolateTests(args, tests, testeeBefore: script); |