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

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

Issue 1267033002: Make Observatory analyzer clean (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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/async_next_test.dart
diff --git a/runtime/observatory/tests/service/async_next_test.dart b/runtime/observatory/tests/service/async_next_test.dart
index 1fc0cc195312e38d6e1c167b3df52473bd0cce5d..2e9a0f21cc3129cdec89030d0a41418f8b025643 100644
--- a/runtime/observatory/tests/service/async_next_test.dart
+++ b/runtime/observatory/tests/service/async_next_test.dart
@@ -4,7 +4,6 @@
// VMOptions=--compile_all --error_on_bad_type --error_on_bad_override --verbose_debug
import 'package:observatory/service_io.dart';
-import 'package:unittest/unittest.dart';
import 'test_helper.dart';
import 'dart:developer';
@@ -12,9 +11,9 @@ foo() async { }
doAsync(stop) async {
if (stop) debugger();
+ await foo(); // Line 14.
await foo(); // Line 15.
await foo(); // Line 16.
- await foo(); // Line 17.
return null;
}
@@ -31,13 +30,13 @@ asyncNext(Isolate isolate) async {
var tests = [
hasStoppedAtBreakpoint,
- stoppedAtLine(15),
+ stoppedAtLine(14),
asyncNext,
hasStoppedAtBreakpoint,
- stoppedAtLine(16),
+ stoppedAtLine(15),
asyncNext,
hasStoppedAtBreakpoint,
- stoppedAtLine(17),
+ stoppedAtLine(16),
resumeIsolate,
];
« no previous file with comments | « runtime/observatory/lib/src/elements/cpu_profile.dart ('k') | runtime/observatory/tests/service/async_scope_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698