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

Unified Diff: pkg/analyzer/test/file_system/physical_resource_provider_test.dart

Issue 725143004: Format and sort analyzer and analysis_server packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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: pkg/analyzer/test/file_system/physical_resource_provider_test.dart
diff --git a/pkg/analyzer/test/file_system/physical_resource_provider_test.dart b/pkg/analyzer/test/file_system/physical_resource_provider_test.dart
index 3625a77b81124f7da56424d93253c61a17699679..0590cec6c510cd51ac2c1c5aded61e0262c985f7 100644
--- a/pkg/analyzer/test/file_system/physical_resource_provider_test.dart
+++ b/pkg/analyzer/test/file_system/physical_resource_provider_test.dart
@@ -41,8 +41,7 @@ main() {
// Give the tests 1 second to detect the changes. While it may only
// take up to a few hundred ms, a whole second gives a good margin
// for when running tests.
- return new Future.delayed(
- new Duration(seconds: 1), computation);
+ return new Future.delayed(new Duration(seconds: 1), computation);
}
watchingFolder(String path, test(List<WatchEvent> changesReceived)) {
@@ -320,9 +319,15 @@ main() {
expect(folder.canonicalizePath('baz'), equals(join(path, 'baz')));
expect(folder.canonicalizePath(path2), equals(path2));
expect(folder.canonicalizePath(join('..', 'folder2')), equals(path2));
- expect(folder.canonicalizePath(join(path2, '..', 'folder3')), equals(path3));
- expect(folder.canonicalizePath(join('.', 'baz')), equals(join(path, 'baz')));
- expect(folder.canonicalizePath(join(path2, '.', 'baz')), equals(join(path2, 'baz')));
+ expect(
+ folder.canonicalizePath(join(path2, '..', 'folder3')),
+ equals(path3));
+ expect(
+ folder.canonicalizePath(join('.', 'baz')),
+ equals(join(path, 'baz')));
+ expect(
+ folder.canonicalizePath(join(path2, '.', 'baz')),
+ equals(join(path2, 'baz')));
});
});
});
« no previous file with comments | « pkg/analyzer/test/file_system/memory_file_system_test.dart ('k') | pkg/analyzer/test/file_system/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698