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

Unified Diff: tests/lib_strong/html/element_offset_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/element_offset_test.dart
diff --git a/tests/lib_strong/html/element_offset_test.dart b/tests/lib_strong/html/element_offset_test.dart
index 7e6652396e41ec12dd13d7575c6d7a5a422b0537..ce5327d4681ff36036012a168703070d1a3fb3ad 100644
--- a/tests/lib_strong/html/element_offset_test.dart
+++ b/tests/lib_strong/html/element_offset_test.dart
@@ -29,8 +29,7 @@ main() {
var item2 = new LIElement()
..classes.add('item-2')
..innerHtml = '2';
- var level3 = new UListElement()
- ..children.addAll([item1, item2]);
+ var level3 = new UListElement()..children.addAll([item1, item2]);
var itemb = new LIElement()
..classes.add('item-b')
..style.position = 'relative'
@@ -44,20 +43,20 @@ main() {
var bar = new DivElement()..classes.add('bar');
var style = bar.style;
- style..position = 'absolute'
- ..top = '8px'
- ..left = '90px';
+ style
+ ..position = 'absolute'
+ ..top = '8px'
+ ..left = '90px';
var baz = new DivElement()..classes.add('baz');
style = baz.style;
- style..position = 'absolute'
- ..top = '600px'
- ..left = '7000px';
+ style
+ ..position = 'absolute'
+ ..top = '600px'
+ ..left = '7000px';
bar.children.add(baz);
var quux = new DivElement()..classes.add('quux');
- var qux = new DivElement()
- ..classes.add('qux')
- ..children.add(quux);
+ var qux = new DivElement()..classes.add('qux')..children.add(quux);
document.body.append(bar);
document.body.append(qux);

Powered by Google App Engine
This is Rietveld 408576698