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

Unified Diff: tests/lib_strong/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_strong/collection/hash_map_test.dart
diff --git a/tests/lib_strong/collection/hash_map_test.dart b/tests/lib_strong/collection/hash_map_test.dart
index 5a6b52e9f2878840943eb54315782578282e5664..3d7ff9d37d9456295cbd8b3dfa81db7f7eb2dd34 100644
--- a/tests/lib_strong/collection/hash_map_test.dart
+++ b/tests/lib_strong/collection/hash_map_test.dart
@@ -13,8 +13,8 @@ void main() {
bool 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() {
int abshash(n) => n.abs();
bool 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