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

Unified Diff: tests/standalone/io/file_absolute_path_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/file_absolute_path_test.dart
diff --git a/tests/standalone/io/file_absolute_path_test.dart b/tests/standalone/io/file_absolute_path_test.dart
index e2785bf1b3b9b72f8f05b04106f46b7e315e0751..f8c65328f8cf80310d8a76d07df79f1f55bf7cfa 100644
--- a/tests/standalone/io/file_absolute_path_test.dart
+++ b/tests/standalone/io/file_absolute_path_test.dart
@@ -22,7 +22,6 @@ main() {
testPosix();
Directory.current = '/';
testPosix();
-
}
}
@@ -36,8 +35,12 @@ testWindows() {
}
Expect.isTrue(new File(relative).absolute.isAbsolute);
}
- for (String absolute in ['c:/abd', 'D:\\rf', '\\\\a_share\\folder',
- '\\\\?\\c:\\prefixed\path\\']) {
+ for (String absolute in [
+ 'c:/abd',
+ 'D:\\rf',
+ '\\\\a_share\\folder',
+ '\\\\?\\c:\\prefixed\path\\'
+ ]) {
Expect.isTrue(new File(absolute).absolute.path == absolute);
Expect.isTrue(new File(absolute).absolute.isAbsolute);
}
@@ -54,7 +57,7 @@ testPosix() {
}
Expect.isTrue(new File(relative).absolute.isAbsolute);
Expect.equals(new Directory(relative).absolute.path,
- new Link(relative).absolute.path);
+ new Link(relative).absolute.path);
Expect.isTrue(new File(relative).absolute is File);
Expect.isTrue(new Directory(relative).absolute is Directory);
Expect.isTrue(new Link(relative).absolute is Link);

Powered by Google App Engine
This is Rietveld 408576698