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

Unified Diff: tests/html/filteredelementlist_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/filteredelementlist_test.dart
diff --git a/tests/html/filteredelementlist_test.dart b/tests/html/filteredelementlist_test.dart
index b4110f74a5ca5e590e109cd4452922d33a25a6eb..594cc490f7c3842544b8321e9891f493cd7cfc39 100644
--- a/tests/html/filteredelementlist_test.dart
+++ b/tests/html/filteredelementlist_test.dart
@@ -11,9 +11,7 @@ main() {
t3 = new Text('T3'),
t4 = new Text('T4');
- var d1 = new DivElement(),
- d2 = new DivElement(),
- d3 = new DivElement();
+ var d1 = new DivElement(), d2 = new DivElement(), d3 = new DivElement();
createTestDiv() {
var testDiv = new DivElement();
@@ -59,8 +57,7 @@ main() {
});
test('FilteredElementList.insertAll test', () {
- var i1 = new DivElement(),
- i2 = new DivElement();
+ var i1 = new DivElement(), i2 = new DivElement();
var it = [i1, i2];
@@ -92,7 +89,7 @@ main() {
expect(nodeList.childNodes[7], d3);
});
- test('FilteredElementList.insertAndRemove', () {
+ test('FilteredElementList.insertAndRemove', () {
var emptyDiv = new DivElement();
var elementList = new FilteredElementList(emptyDiv);
expect(() => elementList[0], throwsA(isRangeError));
@@ -107,5 +104,5 @@ main() {
expect(elementList.remove(br2), isFalse);
expect(elementList[0], br);
expect(() => elementList[1], throwsA(isRangeError));
- });
+ });
}

Powered by Google App Engine
This is Rietveld 408576698