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

Unified Diff: tests/standalone/io/uri_platform_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/standalone/io/uri_platform_test.dart
diff --git a/tests/standalone/io/uri_platform_test.dart b/tests/standalone/io/uri_platform_test.dart
index 45da0e36fbd98667804d1c186779d27ec6c24821..c13d7ff0bb53e6deb17161993b413c8f51df719d 100644
--- a/tests/standalone/io/uri_platform_test.dart
+++ b/tests/standalone/io/uri_platform_test.dart
@@ -32,7 +32,7 @@ main() {
Expect.equals("/C:", Uri.parse("file:///C:").toFilePath());
Expect.equals("/C:/", Uri.parse("file:///C:/").toFilePath());
Expect.throws(() => Uri.parse("file://host/a/b").toFilePath(),
- (e) => e is UnsupportedError);
+ (e) => e is UnsupportedError);
Expect.equals("a/b", new Uri.file("a/b").toFilePath());
Expect.equals("a\\b", new Uri.file("a\\b").toFilePath());
@@ -42,7 +42,7 @@ main() {
Expect.equals(
Uri.base,
(Directory.current.path.toString() !=
- path.rootPrefix(Directory.current.path.toString()))
- ? new Uri.file(Directory.current.path + Platform.pathSeparator)
- : new Uri.file(Directory.current.path));
+ path.rootPrefix(Directory.current.path.toString()))
+ ? new Uri.file(Directory.current.path + Platform.pathSeparator)
+ : new Uri.file(Directory.current.path));
}

Powered by Google App Engine
This is Rietveld 408576698