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

Unified Diff: runtime/observatory/tests/service/bad_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/bad_reload_test.dart
diff --git a/runtime/observatory/tests/service/bad_reload_test.dart b/runtime/observatory/tests/service/bad_reload_test.dart
index a11a3d8326cf43fd349bd4a8f8fc284cca8247d4..a07381edc0fc3004a2513880ecf0e8ab2a60daf5 100644
--- a/runtime/observatory/tests/service/bad_reload_test.dart
+++ b/runtime/observatory/tests/service/bad_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('bad_reload/v1/main.dart'));
@@ -23,12 +22,9 @@ Uri v2Uri = baseUri.resolveUri(Uri.parse('bad_reload/v2/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();
}
@@ -66,7 +62,7 @@ var tests = [
// Reload to v2.
var response = await slaveIsolate.reloadSources(
- rootLibUri: v2Uri.toString(),
+ rootLibUri: v2Uri.toString(),
);
// Observe that it failed.
expect(response['success'], isFalse);

Powered by Google App Engine
This is Rietveld 408576698