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

Unified Diff: tests/language/const_map3_test.dart

Issue 2774783002: Re-land "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/const_map2_test.dart ('k') | tests/language/const_native_factory_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/const_map3_test.dart
diff --git a/tests/language/const_map3_test.dart b/tests/language/const_map3_test.dart
index df3f5d08b9e8a7447b82146b8bf04f00e6a6d0d7..0d799f0aa7da92e1b0de9dcca69084bdcca29d59 100644
--- a/tests/language/const_map3_test.dart
+++ b/tests/language/const_map3_test.dart
@@ -16,9 +16,9 @@ class B implements A {
main() {
// It is a compile-time error if the key type overrides operator ==.
- var m = const { A.b: 42 };
+ var m = const {A.b: 42};
Expect.equals(42, m[const B()]);
- m = const { "foo": 99, A.b: 499 };
+ m = const {"foo": 99, A.b: 499};
Expect.equals(499, m[const B()]);
}
« no previous file with comments | « tests/language/const_map2_test.dart ('k') | tests/language/const_native_factory_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698