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

Unified Diff: tests/language_strong/const_map_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/language_strong/const_map_test.dart
diff --git a/tests/language_strong/const_map_test.dart b/tests/language_strong/const_map_test.dart
index 96db1d6a86477c93464f50d3c71ca44b632ccd2a..f0f094506916be73a99fec7a58c0ec3183a7dfda 100644
--- a/tests/language_strong/const_map_test.dart
+++ b/tests/language_strong/const_map_test.dart
@@ -17,7 +17,7 @@ main() {
// Make sure that const maps use the == operator and not identical. The
// specification does not explicitly require it, but otherwise ints and
// Strings wouldn't make much sense as keys.
- var m = const { 1: 42, "foo": 499 };
+ var m = const {1: 42, "foo": 499};
Expect.equals(42, m[confuse(1.0)]);
Expect.equals(499, m[confuse(new String.fromCharCodes("foo".runes))]);
}

Powered by Google App Engine
This is Rietveld 408576698