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

Unified Diff: tests/language/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/const_instance_field_test.dart ('k') | tests/language/const_map3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/const_map2_test.dart
diff --git a/tests/language/const_map2_test.dart b/tests/language/const_map2_test.dart
index dccddb0aec56f7bc770457de4ff05f31e3e5d79c..16c873c42abc924d7371e8740fdb708ef2cacdd0 100644
--- a/tests/language/const_map2_test.dart
+++ b/tests/language/const_map2_test.dart
@@ -14,15 +14,14 @@ class B implements A {
operator ==(o) => true; // //# 00: compile-time error
}
-@NoInline()
-@AssumeDynamic()
+@NoInline() @AssumeDynamic()
confuse(x) => 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/const_instance_field_test.dart ('k') | tests/language/const_map3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698