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

Unified Diff: tests/isolate/scenarios/automatic_resolution_root/package_resolve_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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: tests/isolate/scenarios/automatic_resolution_root/package_resolve_test.dart
diff --git a/tests/isolate/scenarios/automatic_resolution_root/package_resolve_test.dart b/tests/isolate/scenarios/automatic_resolution_root/package_resolve_test.dart
index 889763c121871b78f219a1dbb7cc3d731c4c6f69..4679254c2b248494b123d4414d443a99ecdace16 100644
--- a/tests/isolate/scenarios/automatic_resolution_root/package_resolve_test.dart
+++ b/tests/isolate/scenarios/automatic_resolution_root/package_resolve_test.dart
@@ -13,10 +13,8 @@ main([args, port]) async {
return;
}
var p = new RawReceivePort();
- Isolate.spawnUri(Platform.script,
- [],
- p.sendPort,
- automaticPackageResolution: true);
+ Isolate.spawnUri(Platform.script, [], p.sendPort,
+ automaticPackageResolution: true);
p.handler = (msg) {
p.close();
if (msg is! List) {
@@ -26,12 +24,12 @@ main([args, port]) async {
var child_pkg_root = Platform.script.resolve("packages/");
if (msg[0] != child_pkg_root.toString()) {
throw "Bad package root in child isolate: ${msg[0]}.\n"
- "Expected: $child_pkg_root";
+ "Expected: $child_pkg_root";
}
var child_pkg_path = child_pkg_root.resolve("foo/bar.dart");
if (msg[1] != child_pkg_path.toString()) {
throw "Package path not matching: ${msg[1]}\n"
- "Expected $child_pkg_path";
+ "Expected $child_pkg_path";
}
print("SUCCESS");
};

Powered by Google App Engine
This is Rietveld 408576698