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

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

Issue 2759973004: Fix observatory tests broken by running dartfmt. Temporarily reverted formatting for evaluate_activ… (Closed)
Patch Set: 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/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;

Powered by Google App Engine
This is Rietveld 408576698