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

Unified Diff: runtime/observatory/tests/observatory_ui/nav/bar/element_test.dart

Issue 2211603002: Centralized event streams (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Merged with master Created 4 years, 4 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: runtime/observatory/tests/observatory_ui/nav/bar/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/nav/bar/element_test.dart b/runtime/observatory/tests/observatory_ui/nav/bar/element_test.dart
index fe547857a42a4f11ec601d27ce1dc0d96b941e11..98b965327818647d6c8f55739605c5ee71c8a8bf 100644
--- a/runtime/observatory/tests/observatory_ui/nav/bar/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/nav/bar/element_test.dart
@@ -9,11 +9,11 @@ main() {
NavBarElement.tag.ensureRegistration();
test('instantiation', () {
- final NavBarElement e = new NavBarElement();
+ final e = new NavBarElement();
expect(e, isNotNull, reason: 'element correctly created');
});
test('elements created', () async {
- final NavBarElement e = new NavBarElement();
+ final e = new NavBarElement();
document.body.append(e);
await e.onRendered.first;
expect(e.shadowRoot.children.length, isNonZero, reason: 'has elements');

Powered by Google App Engine
This is Rietveld 408576698