Index: runtime/observatory/tests/observatory_ui/curly_block/element_test.dart |
diff --git a/runtime/observatory/tests/observatory_ui/curly_block/element_test.dart b/runtime/observatory/tests/observatory_ui/curly_block/element_test.dart |
index 54d50b995d311c9591706294e5595ab3a3de25e3..068f7416cee17ca0923d31efe4d2e3f2e9fa8d1b 100644 |
--- a/runtime/observatory/tests/observatory_ui/curly_block/element_test.dart |
+++ b/runtime/observatory/tests/observatory_ui/curly_block/element_test.dart |
@@ -23,15 +23,13 @@ main() { |
expect(e.disabled, isFalse); |
}); |
test('not expanded / not disabled', () { |
- final e = new CurlyBlockElement(expanded: false, |
- disabled: false); |
+ final e = new CurlyBlockElement(expanded: false, disabled: false); |
expect(e, isNotNull, reason: 'element correctly created'); |
expect(e.expanded, isFalse); |
expect(e.disabled, isFalse); |
}); |
test('not expanded / disabled', () { |
- final e = new CurlyBlockElement(expanded: false, |
- disabled: true); |
+ final e = new CurlyBlockElement(expanded: false, disabled: true); |
expect(e, isNotNull, reason: 'element correctly created'); |
expect(e.expanded, isFalse); |
expect(e.disabled, isTrue); |
@@ -72,8 +70,7 @@ main() { |
expect(e.children.length, isZero, reason: 'is empty'); |
document.body.append(e); |
await e.onRendered.first; |
- expect(e.children.length, isNonZero, |
- reason: 'has elements'); |
+ expect(e.children.length, isNonZero, reason: 'has elements'); |
e.remove(); |
await e.onRendered.first; |
expect(e.children.length, isZero, reason: 'is empty'); |
@@ -155,7 +152,7 @@ main() { |
await e.onRendered.first; |
}); |
test('fires on toggle', () async { |
- e.onToggle.listen(expectAsync((CurlyBlockToggleEvent event){ |
+ e.onToggle.listen(expectAsync((CurlyBlockToggleEvent event) { |
expect(event, isNotNull); |
expect(event.control, equals(e)); |
}, count: 1)); |
@@ -163,7 +160,7 @@ main() { |
await e.onRendered.first; |
}); |
test('fires on manual toggle', () async { |
- e.onToggle.listen(expectAsync((CurlyBlockToggleEvent event){ |
+ e.onToggle.listen(expectAsync((CurlyBlockToggleEvent event) { |
expect(event, isNotNull); |
expect(event.control, equals(e)); |
}, count: 1)); |
@@ -171,7 +168,7 @@ main() { |
await e.onRendered.first; |
}); |
test('does not fire if setting same expanded value', () async { |
- e.onToggle.listen(expectAsync((_){}, count: 0)); |
+ e.onToggle.listen(expectAsync((_) {}, count: 0)); |
e.expanded = e.expanded; |
await e.onRendered.first; |
}); |