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

Unified Diff: runtime/observatory/tests/service/next_through_for_loop_with_break_and_continue_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/next_through_for_loop_with_break_and_continue_test.dart
diff --git a/runtime/observatory/tests/service/next_through_for_loop_with_break_and_continue_test.dart b/runtime/observatory/tests/service/next_through_for_loop_with_break_and_continue_test.dart
index b353a38d9b652007237d5df766d730e3cff91421..5c378b14f52e801edfc07359f1cec1430fa7732e 100644
--- a/runtime/observatory/tests/service/next_through_for_loop_with_break_and_continue_test.dart
+++ b/runtime/observatory/tests/service/next_through_for_loop_with_break_and_continue_test.dart
@@ -10,7 +10,7 @@ const String file = "next_through_for_loop_with_break_and_continue_test.dart";
code() {
int count = 0;
- for(int i = 0; i < 42; ++i) {
+ for (int i = 0; i < 42; ++i) {
if (i == 2) {
continue;
}
@@ -27,31 +27,31 @@ List<String> expected = [
// Initialization (on '='), loop start (on '='),
// first iteration (on '<', on '==', on '==', on '++')
"$file:${LINE_A+0}:13",
- "$file:${LINE_A+1}:13",
- "$file:${LINE_A+1}:20",
+ "$file:${LINE_A+1}:14",
+ "$file:${LINE_A+1}:21",
"$file:${LINE_A+2}:11",
"$file:${LINE_A+5}:11",
"$file:${LINE_A+8}:10",
// Second iteration of loop: Full run
// (on '++', on '<', on '==', on '==', on '++')
- "$file:${LINE_A+1}:26",
- "$file:${LINE_A+1}:20",
+ "$file:${LINE_A+1}:27",
+ "$file:${LINE_A+1}:21",
"$file:${LINE_A+2}:11",
"$file:${LINE_A+5}:11",
"$file:${LINE_A+8}:10",
// Third iteration of loop: continue
// (on '++', on '<', on '==', on 'continue')
- "$file:${LINE_A+1}:26",
- "$file:${LINE_A+1}:20",
+ "$file:${LINE_A+1}:27",
+ "$file:${LINE_A+1}:21",
"$file:${LINE_A+2}:11",
"$file:${LINE_A+3}:7",
// Forth iteration of loop: break
// (on '++', on '<', on '==' on '==', on 'break')
- "$file:${LINE_A+1}:26",
- "$file:${LINE_A+1}:20",
+ "$file:${LINE_A+1}:27",
+ "$file:${LINE_A+1}:21",
"$file:${LINE_A+2}:11",
"$file:${LINE_A+5}:11",
"$file:${LINE_A+6}:7",

Powered by Google App Engine
This is Rietveld 408576698