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

Unified Diff: tests/lib_strong/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/lib_strong/html/filteredelementlist_test.dart
diff --git a/tests/lib_strong/html/filteredelementlist_test.dart b/tests/lib_strong/html/filteredelementlist_test.dart
index eb5e364f9cf034b72ba1f3b3e7354e32eca56c17..c9b5d4c82f49a069af492fd6a4b06fc911c4091b 100644
--- a/tests/lib_strong/html/filteredelementlist_test.dart
+++ b/tests/lib_strong/html/filteredelementlist_test.dart
@@ -9,9 +9,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();
@@ -55,8 +53,7 @@ main() {
});
test('FilteredElementList.insertAll test', () {
- var i1 = new DivElement(),
- i2 = new DivElement();
+ var i1 = new DivElement(), i2 = new DivElement();
var it = [i1, i2];
@@ -88,7 +85,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], throwsRangeError);
@@ -103,5 +100,5 @@ main() {
expect(elementList.remove(br2), isFalse);
expect(elementList[0], br);
expect(() => elementList[1], throwsRangeError);
- });
+ });
}

Powered by Google App Engine
This is Rietveld 408576698