Index: runtime/observatory/tests/service/object_graph_stack_reference_test.dart |
diff --git a/runtime/observatory/tests/service/object_graph_stack_reference_test.dart b/runtime/observatory/tests/service/object_graph_stack_reference_test.dart |
index 9fc88ce4958832afc16bfa2cf03b5cacef48e0e6..1f45eb2c19d1bce7af37a2fa3d75384348e44dfa 100644 |
--- a/runtime/observatory/tests/service/object_graph_stack_reference_test.dart |
+++ b/runtime/observatory/tests/service/object_graph_stack_reference_test.dart |
@@ -20,7 +20,7 @@ int minArraySize = arrayLength * 4; |
void script() { |
var stackSlot = new List(arrayLength); |
debugger(); |
- print(stackSlot); // Prevent optimizing away the stack slot. |
+ print(stackSlot); // Prevent optimizing away the stack slot. |
} |
checkForStackReferent(Isolate isolate) async { |
@@ -38,8 +38,8 @@ checkForStackReferent(Isolate isolate) async { |
ObjectGraph graph = snapshot.graph; |
var root = graph.root; |
- var stack = graph.root.dominatorTreeChildren() |
- .singleWhere((child) => child.isStack); |
+ var stack = |
+ graph.root.dominatorTreeChildren().singleWhere((child) => child.isStack); |
expect(stack.retainedSize, greaterThanOrEqualTo(minArraySize)); |
bool foundBigArray = false; |