| 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')));
|
| });
|
| });
|
| });
|
|
|