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

Unified Diff: runtime/observatory/tests/observatory_ui/error_ref/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/error_ref/element_test.dart
diff --git a/runtime/observatory/tests/observatory_ui/error_ref/element_test.dart b/runtime/observatory/tests/observatory_ui/error_ref/element_test.dart
index 049565607089d89cdeace496ec1aeb373d052fa3..b131472dda90278add8a3bfec34dca995283a0a9 100644
--- a/runtime/observatory/tests/observatory_ui/error_ref/element_test.dart
+++ b/runtime/observatory/tests/observatory_ui/error_ref/element_test.dart
@@ -3,14 +3,13 @@
// BSD-style license that can be found in the LICENSE file.
import 'dart:html';
import 'package:unittest/unittest.dart';
-import 'package:observatory/models.dart';
-import 'package:observatory/mocks.dart';
import 'package:observatory/src/elements/error_ref.dart';
+import '../mocks.dart';
main() {
ErrorRefElement.tag.ensureRegistration();
- final ErrorRef ref = new ErrorRefMock(id: 'id', message: 'fixed-error-m');
+ final ref = new ErrorRefMock(id: 'id', message: 'fixed-error-m');
test('instantiation', () {
final ErrorRefElement e = new ErrorRefElement(ref);
expect(e, isNotNull, reason: 'element correctly created');

Powered by Google App Engine
This is Rietveld 408576698