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

Unified Diff: runtime/observatory/tests/service/get_object_rpc_test.dart

Issue 1127693003: Fix analyzer warnings in service tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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: runtime/observatory/tests/service/get_object_rpc_test.dart
diff --git a/runtime/observatory/tests/service/get_object_rpc_test.dart b/runtime/observatory/tests/service/get_object_rpc_test.dart
index 67b5b702e2c9742b60036b18e92184c490e9cb8d..d581f4c3118d3ac9e5fc9dcf055ce41a06258169 100644
--- a/runtime/observatory/tests/service/get_object_rpc_test.dart
+++ b/runtime/observatory/tests/service/get_object_rpc_test.dart
@@ -5,8 +5,6 @@
library get_object_rpc_test;
-import 'dart:async';
-
import 'package:observatory/service_io.dart';
import 'package:unittest/unittest.dart';
@@ -22,6 +20,8 @@ class _DummySubClass extends _DummyClass {
}
void warmup() {
+ // Silence analyzer.
+ new _DummySubClass();
new _DummyClass().dummyFunction();
}

Powered by Google App Engine
This is Rietveld 408576698