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

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

Issue 2934973002: Address observatory analysis issues. (Closed)
Patch Set: Created 3 years, 6 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_star_step_out_test.dart
diff --git a/runtime/observatory/tests/service/async_star_step_out_test.dart b/runtime/observatory/tests/service/async_star_step_out_test.dart
index a59f955227721fe07c4827b3768c07fe137282f5..eeeecf1f11f3875f39dd50072396d5daac7053b9 100644
--- a/runtime/observatory/tests/service/async_star_step_out_test.dart
+++ b/runtime/observatory/tests/service/async_star_step_out_test.dart
@@ -4,21 +4,19 @@
// VMOptions=--error_on_bad_type --error_on_bad_override --verbose_debug --async_debugger
import 'dart:developer';
-import 'package:observatory/models.dart' as M;
-import 'package:observatory/service_io.dart';
-import 'package:unittest/unittest.dart';
+
import 'service_test_common.dart';
import 'test_helper.dart';
-const LINE_A = 24;
-const LINE_B = 25;
-const LINE_C = 29;
-const LINE_D = 32;
-const LINE_E = 39;
-const LINE_F = 40;
-const LINE_G = 41;
-const LINE_H = 30;
-const LINE_I = 34;
+const LINE_A = 22;
+const LINE_B = 23;
+const LINE_C = 27;
+const LINE_D = 30;
+const LINE_E = 37;
+const LINE_F = 38;
+const LINE_G = 39;
+const LINE_H = 28;
+const LINE_I = 32;
foobar() async* {
yield 1; // LINE_A.
@@ -27,7 +25,7 @@ foobar() async* {
helper() async {
print('helper'); // LINE_C.
- await for (var i in foobar()) { // LINE_H.
+ await for (var i in foobar()) /* LINE_H */ {
debugger();
print('loop'); // LINE_D.
}

Powered by Google App Engine
This is Rietveld 408576698