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

Unified Diff: tests/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/html/htmlelement_test.dart
diff --git a/tests/html/htmlelement_test.dart b/tests/html/htmlelement_test.dart
index fd22c1336fd62fc80fcbc7ddcace6bf9b29873e7..73358579bc5a02908f601453122032e621ecf8ee 100644
--- a/tests/html/htmlelement_test.dart
+++ b/tests/html/htmlelement_test.dart
@@ -1,4 +1,5 @@
library ElementTest;
+
import 'package:unittest/unittest.dart';
import 'package:unittest/html_config.dart';
import 'dart:html';
@@ -60,11 +61,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