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

Unified Diff: tests/language_strong/const_map2_test.dart

Issue 2770063002: Revert "Format all multitests" (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
« no previous file with comments | « tests/language_strong/const_instance_field_test.dart ('k') | tests/language_strong/const_map3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/const_map2_test.dart
diff --git a/tests/language_strong/const_map2_test.dart b/tests/language_strong/const_map2_test.dart
index bc0cbb984633cf3fa33dac634bd2cf220ba5e126..e4bb56d6d1f7153ca277480a57e9bad66e6a32b8 100644
--- a/tests/language_strong/const_map2_test.dart
+++ b/tests/language_strong/const_map2_test.dart
@@ -21,9 +21,9 @@ confuse(x) {
main() {
// It is a compile-time error if the key type overrides operator ==.
- var m = const {const A(): 42};
+ var m = const { const A(): 42 };
Expect.equals(42, m[confuse(const B())]);
- m = const {"foo": 99, const A(): 499};
+ m = const { "foo": 99, const A(): 499 };
Expect.equals(499, m[confuse(const B())]);
}
« no previous file with comments | « tests/language_strong/const_instance_field_test.dart ('k') | tests/language_strong/const_map3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698