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

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

Issue 2759973004: Fix observatory tests broken by running dartfmt. Temporarily reverted formatting for evaluate_activ… (Closed)
Patch Set: Created 3 years, 9 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/smart_next_test.dart
diff --git a/runtime/observatory/tests/service/smart_next_test.dart b/runtime/observatory/tests/service/smart_next_test.dart
index b013c4bf9f90b9de30ad6bea38594547ce98eeca..454fbebeb46dae59bdef86d9908f3711beac8cfe 100644
--- a/runtime/observatory/tests/service/smart_next_test.dart
+++ b/runtime/observatory/tests/service/smart_next_test.dart
@@ -12,17 +12,17 @@ import 'service_test_common.dart';
const int LINE_A = 20;
-foo() async { }
-bar() { }
+foo() async {}
+bar() {}
doAsync(stop) async {
if (stop) debugger();
await foo(); // Line A.
- bar(); // Line A + 1.
- bar(); // Line A + 2.
+ bar(); // Line A + 1.
+ bar(); // Line A + 2.
await foo(); // Line A + 3.
await foo(); // Line A + 4.
- bar(); // Line A + 5.
+ bar(); // Line A + 5.
return null;
}
@@ -59,7 +59,7 @@ smartNext(Isolate isolate) async {
}
var tests = [
- hasStoppedAtBreakpoint, stoppedAtLine(LINE_A), // foo()
+ hasStoppedAtBreakpoint, stoppedAtLine(LINE_A), // foo()
smartNext, hasStoppedAtBreakpoint, stoppedAtLine(LINE_A), // await
smartNext, hasStoppedAtBreakpoint, stoppedAtLine(LINE_A + 1), // bar()
smartNext, hasStoppedAtBreakpoint, stoppedAtLine(LINE_A + 2), // bar()

Powered by Google App Engine
This is Rietveld 408576698