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

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

Issue 975453004: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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: 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 399bdc7b84428ea8c2efe7935397770148318c44..69eaa11ae1a460b54224061eeb9c6bf63148c8e6 100644
--- a/pkg/analyzer/test/file_system/physical_resource_provider_test.dart
+++ b/pkg/analyzer/test/file_system/physical_resource_provider_test.dart
@@ -14,12 +14,10 @@ import 'package:path/path.dart';
import 'package:unittest/unittest.dart';
import 'package:watcher/watcher.dart';
-
var _isFile = new isInstanceOf<File>();
var _isFolder = new isInstanceOf<Folder>();
var _isFileSystemException = new isInstanceOf<FileSystemException>();
-
main() {
groupSep = ' | ';
@@ -37,7 +35,6 @@ main() {
});
group('Watch', () {
-
Future delayed(computation()) {
// 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
@@ -364,14 +361,11 @@ 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')),
+ expect(folder.canonicalizePath(join(path2, '..', 'folder3')),
equals(path3));
- expect(
- folder.canonicalizePath(join('.', 'baz')),
+ expect(folder.canonicalizePath(join('.', 'baz')),
equals(join(path, 'baz')));
- expect(
- folder.canonicalizePath(join(path2, '.', 'baz')),
+ expect(folder.canonicalizePath(join(path2, '.', 'baz')),
equals(join(path2, 'baz')));
});
});

Powered by Google App Engine
This is Rietveld 408576698