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

Unified Diff: runtime/observatory/tests/service/bad_reload_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/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 a07381edc0fc3004a2513880ecf0e8ab2a60daf5..a11a3d8326cf43fd349bd4a8f8fc284cca8247d4 100644
--- a/runtime/observatory/tests/service/bad_reload_test.dart
+++ b/runtime/observatory/tests/service/bad_reload_test.dart
@@ -14,7 +14,8 @@ 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'));
@@ -22,9 +23,12 @@ 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();
}
@@ -62,7 +66,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