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

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

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (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/regress_28443_test.dart
diff --git a/runtime/observatory/tests/service/regress_28443_test.dart b/runtime/observatory/tests/service/regress_28443_test.dart
index 411c8370097edbf61de55e41f6d7f12291001d79..652e4b0352594d9aff0c1de956ac708018061807 100644
--- a/runtime/observatory/tests/service/regress_28443_test.dart
+++ b/runtime/observatory/tests/service/regress_28443_test.dart
@@ -25,13 +25,12 @@ collect() async {
await new Future.microtask(() => throw new TimeoutException("here"));
} on dynamic {
vmService.close();
- rethrow; // LINE_A
+ rethrow; // LINE_A
}
});
}
-test_code() async {
- // LINE_B
+test_code() async { // LINE_B
try {
await collect();
} on TimeoutException {
@@ -61,19 +60,17 @@ Future<Isolate> stepThroughProgram(Isolate isolate) async {
return completer.future;
}
-var tests = [
- hasPausedAtStart,
- markDartColonLibrariesDebuggable,
- setBreakpointAtLine(LINE_B),
- resumeIsolate,
- hasStoppedAtBreakpoint,
- setBreakpointAtLine(LINE_A),
- resumeIsolate,
- hasStoppedAtBreakpoint,
- stepOut,
- stoppedAtLine(LINE_B),
- resumeIsolate
-];
+var tests = [hasPausedAtStart,
+ markDartColonLibrariesDebuggable,
+ setBreakpointAtLine(LINE_B),
+ resumeIsolate,
+ hasStoppedAtBreakpoint,
+ setBreakpointAtLine(LINE_A),
+ resumeIsolate,
+ hasStoppedAtBreakpoint,
+ stepOut,
+ stoppedAtLine(LINE_B),
+ resumeIsolate];
main(args) => runIsolateTestsSynchronous(args, tests,
testeeConcurrent: test_code, pause_on_start: true, pause_on_exit: false);

Powered by Google App Engine
This is Rietveld 408576698