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

Unified Diff: tests/corelib_strong/list_as_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/corelib_strong/list_as_map_test.dart
diff --git a/tests/corelib_strong/list_as_map_test.dart b/tests/corelib_strong/list_as_map_test.dart
index 51e637f0fde5bac5689c3854e35617dcd47316be..43524a205cd369d35fa42ea5d70cd452fed86504 100644
--- a/tests/corelib_strong/list_as_map_test.dart
+++ b/tests/corelib_strong/list_as_map_test.dart
@@ -47,12 +47,10 @@ void testConstAsMap(List list) {
testListMapCorrespondence(list, map);
- Expect.throws(() => map[0] = 499,
- (e) => e is UnsupportedError);
- Expect.throws(() => map.putIfAbsent(0, () => 499),
- (e) => e is UnsupportedError);
- Expect.throws(() => map.clear(),
- (e) => e is UnsupportedError);
+ Expect.throws(() => map[0] = 499, (e) => e is UnsupportedError);
+ Expect.throws(
+ () => map.putIfAbsent(0, () => 499), (e) => e is UnsupportedError);
+ Expect.throws(() => map.clear(), (e) => e is UnsupportedError);
}
void testFixedAsMap(List list) {

Powered by Google App Engine
This is Rietveld 408576698