Chromium Code Reviews| Index: pkg/scheduled_test/lib/src/descriptor/file_descriptor.dart |
| diff --git a/pkg/scheduled_test/lib/src/descriptor/file_descriptor.dart b/pkg/scheduled_test/lib/src/descriptor/file_descriptor.dart |
| index ad304ed1b262fcc580cbd48d014297a943d7f25d..e92420ce50529f40cfb7fabcbf9736e70b937072 100644 |
| --- a/pkg/scheduled_test/lib/src/descriptor/file_descriptor.dart |
| +++ b/pkg/scheduled_test/lib/src/descriptor/file_descriptor.dart |
| @@ -9,7 +9,7 @@ import 'dart:io'; |
| import 'dart:math' as math; |
| import 'dart:utf'; |
| -import 'package:path/path.dart' as path; |
| +import 'package:path/path.dart' as pathos; |
|
gram
2013/08/05 23:23:12
Is there a conflict with path? Otherwise we should
kevmoo-old
2013/08/06 01:27:16
The editor shows some really weird errors when I l
kevmoo-old
2013/08/06 01:27:16
Done.
|
| import '../../descriptor.dart'; |
| import '../../scheduled_test.dart'; |
| @@ -49,7 +49,7 @@ abstract class FileDescriptor extends Descriptor implements ReadableDescriptor { |
| Future create([String parent]) => schedule(() { |
| if (parent == null) parent = defaultRoot; |
| - return new File(path.join(parent, name)).writeAsBytes(contents); |
| + return new File(pathos.join(parent, name)).writeAsBytes(contents); |
| }, "creating file '$name'"); |
| Future validate([String parent]) => |
| @@ -57,7 +57,7 @@ abstract class FileDescriptor extends Descriptor implements ReadableDescriptor { |
| Future validateNow([String parent]) { |
| if (parent == null) parent = defaultRoot; |
| - var fullPath = path.join(parent, name); |
| + var fullPath = pathos.join(parent, name); |
| if (!new File(fullPath).existsSync()) { |
| throw "File not found: '$fullPath'."; |
| } |