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

Unified Diff: runtime/observatory/tests/service/complex_reload_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/complex_reload_test.dart
diff --git a/runtime/observatory/tests/service/complex_reload_test.dart b/runtime/observatory/tests/service/complex_reload_test.dart
index 9590708cbb210b725f96d9832be761827ad43ad6..d2aa20ab71ab0e89de4b92fe52c95eb0187ddfd0 100644
--- a/runtime/observatory/tests/service/complex_reload_test.dart
+++ b/runtime/observatory/tests/service/complex_reload_test.dart
@@ -14,8 +14,7 @@ import 'package:path/path.dart' as path;
import 'package:unittest/unittest.dart';
// Chop off the file name.
-String baseDirectory =
- path.dirname(Platform.script.path) + '/';
+String baseDirectory = path.dirname(Platform.script.path) + '/';
Uri baseUri = Platform.script.replace(path: baseDirectory);
Uri spawnUri = baseUri.resolveUri(Uri.parse('complex_reload/v1/main.dart'));
@@ -24,12 +23,9 @@ Uri v3Uri = baseUri.resolveUri(Uri.parse('complex_reload/v3/main.dart'));
testMain() async {
print(baseUri);
- debugger(); // Stop here.
+ debugger(); // Stop here.
// Spawn the child isolate.
- I.Isolate isolate =
- await I.Isolate.spawnUri(spawnUri,
- [],
- null);
+ I.Isolate isolate = await I.Isolate.spawnUri(spawnUri, [], null);
print(isolate);
debugger();
}
@@ -67,7 +63,7 @@ var tests = [
// Reload to v2.
var response = await slaveIsolate.reloadSources(
- rootLibUri: v2Uri.toString(),
+ rootLibUri: v2Uri.toString(),
);
expect(response['success'], isTrue);
« no previous file with comments | « runtime/observatory/tests/service/complex_reload/v1/main.dart ('k') | runtime/observatory/tests/service/contexts_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698