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

Unified Diff: tests/corelib/iterable_return_type_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/corelib/iterable_generate_test.dart ('k') | tests/corelib/iterable_to_list_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/iterable_return_type_test.dart
diff --git a/tests/corelib/iterable_return_type_test.dart b/tests/corelib/iterable_return_type_test.dart
index dbbd66263d64228e1fae58f5fde5588c7ff10fcf..b492478fc2156fcf1f0f59fb3b7f769af6c136cd 100644
--- a/tests/corelib/iterable_return_type_test.dart
+++ b/tests/corelib/iterable_return_type_test.dart
@@ -39,9 +39,9 @@ void testList(List<int> list, [int depth = 3]) {
}
void testMap(Map<int, int> map, [int depth = 3]) {
- Expect.isTrue(map is Map<int, int>);
- Expect.isFalse(map is Map<int, String>);
- Expect.isFalse(map is Map<String, int>);
+ Expect.isTrue(map is Map<int,int>);
+ Expect.isFalse(map is Map<int,String>);
+ Expect.isFalse(map is Map<String,int>);
if (depth > 0) {
testIterable(map.keys, depth - 1);
testIterable(map.values, depth - 1);
@@ -81,10 +81,10 @@ main() {
testIterable(new DoubleLinkedQueue<int>()..add(1));
testIterable(new ListQueue<int>()..add(1));
- testMap(new Map<int, int>()..[1] = 1);
- testMap(new HashMap<int, int>()..[1] = 1);
- testMap(new LinkedHashMap<int, int>()..[1] = 1);
- testMap(new SplayTreeMap<int, int>()..[1] = 1);
- testMap(<int, int>{1: 1});
- testMap(const <int, int>{1: 1});
+ testMap(new Map<int,int>()..[1] = 1);
+ testMap(new HashMap<int,int>()..[1] = 1);
+ testMap(new LinkedHashMap<int,int>()..[1] = 1);
+ testMap(new SplayTreeMap<int,int>()..[1] = 1);
+ testMap(<int,int>{1:1});
+ testMap(const <int,int>{1:1});
}
« no previous file with comments | « tests/corelib/iterable_generate_test.dart ('k') | tests/corelib/iterable_to_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698