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

Unified Diff: tests/standalone/map_insert_remove_oom_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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: tests/standalone/map_insert_remove_oom_test.dart
diff --git a/tests/standalone/map_insert_remove_oom_test.dart b/tests/standalone/map_insert_remove_oom_test.dart
index 955a499be733f6d2ee9032b2d3630f2ab88e199c..25c1a339314ea7e42a075c3bb31b561650caa8e5 100644
--- a/tests/standalone/map_insert_remove_oom_test.dart
+++ b/tests/standalone/map_insert_remove_oom_test.dart
@@ -6,10 +6,9 @@
// Test that compaction does occur on repeated add/remove.
main() {
- var x = {};
- for (int i = 0; i < 1000000; i++) {
+ var x = {};
+ for (int i = 0; i < 1000000; i++) {
x[i] = 10;
x.remove(i);
}
}
-

Powered by Google App Engine
This is Rietveld 408576698