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

Unified Diff: tests/lib/collection/hash_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/lib/collection/hash_map_test.dart
diff --git a/tests/lib/collection/hash_map_test.dart b/tests/lib/collection/hash_map_test.dart
index f0f1d541a631d15859e05bb412e1a2e9a8a364b2..44dbef405eeeaf4018c5431a3cc723f74a981068 100644
--- a/tests/lib/collection/hash_map_test.dart
+++ b/tests/lib/collection/hash_map_test.dart
@@ -13,8 +13,8 @@ void main() {
equals(a, b) => a.toLowerCase() == b.toLowerCase();
for (var m in [
- new HashMap<String,int>(equals: equals, hashCode: hash),
- new LinkedHashMap<String,int>(equals: equals, hashCode: hash),
+ new HashMap<String, int>(equals: equals, hashCode: hash),
+ new LinkedHashMap<String, int>(equals: equals, hashCode: hash),
]) {
m["Abel"] = 42;
for (var key in ["Abel", "abel", "ABEL", "Abel"]) {
@@ -28,8 +28,8 @@ void main() {
abshash(n) => n.abs();
abseq(a, b) => a.abs() == b.abs();
for (var m in [
- new HashMap<int,int>(equals: abseq, hashCode: abshash),
- new LinkedHashMap<int,int>(equals: abseq, hashCode: abshash),
+ new HashMap<int, int>(equals: abseq, hashCode: abshash),
+ new LinkedHashMap<int, int>(equals: abseq, hashCode: abshash),
]) {
m[1] = 42;
for (var key in [1, -1, 1]) {

Powered by Google App Engine
This is Rietveld 408576698