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

Unified Diff: tests/lib_strong/html/htmlelement_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/html/htmlelement_test.dart
diff --git a/tests/lib_strong/html/htmlelement_test.dart b/tests/lib_strong/html/htmlelement_test.dart
index 10b0070f4e33009bf711f639fbcdea272307d5ea..12967a1aa3ad205d6dd4d9f947debcab4e43dd10 100644
--- a/tests/lib_strong/html/htmlelement_test.dart
+++ b/tests/lib_strong/html/htmlelement_test.dart
@@ -59,11 +59,11 @@ main() {
expect(div.dataset.putIfAbsent('bar', f), 'bar-value');
expect(hasBeenInvoked, isFalse);
- final keys = <String> [];
- final values = <String> [];
+ final keys = <String>[];
+ final values = <String>[];
div.dataset.forEach((String key, String value) {
- keys.add(key);
- values.add(value);
+ keys.add(key);
+ values.add(value);
});
expect(keys, unorderedEquals(['foo', 'bar']));
expect(values, unorderedEquals(['foo-value', 'bar-value']));

Powered by Google App Engine
This is Rietveld 408576698