| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library io_test; | 5 library io_test; |
| 6 | 6 |
| 7 import '../../../pkg/path/lib/path.dart' as path; | 7 import '../../../pkg/pathos/lib/path.dart' as path; |
| 8 import '../../../pkg/unittest/lib/unittest.dart'; | 8 import '../../../pkg/unittest/lib/unittest.dart'; |
| 9 | 9 |
| 10 import '../../pub/io.dart'; | 10 import '../../pub/io.dart'; |
| 11 import '../../pub/utils.dart'; | 11 import '../../pub/utils.dart'; |
| 12 import 'test_pub.dart'; | 12 import 'test_pub.dart'; |
| 13 | 13 |
| 14 main() { | 14 main() { |
| 15 initConfig(); | 15 initConfig(); |
| 16 | 16 |
| 17 group('listDir', () { | 17 group('listDir', () { |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 }).then((_) => listDir(temp, recursive: true)); | 128 }).then((_) => listDir(temp, recursive: true)); |
| 129 expect(future, completion(unorderedEquals([ | 129 expect(future, completion(unorderedEquals([ |
| 130 path.join(temp, 'file1.txt'), | 130 path.join(temp, 'file1.txt'), |
| 131 path.join(temp, 'linkdir') | 131 path.join(temp, 'linkdir') |
| 132 ]))); | 132 ]))); |
| 133 return future; | 133 return future; |
| 134 }), completes); | 134 }), completes); |
| 135 }); | 135 }); |
| 136 }); | 136 }); |
| 137 } | 137 } |
| OLD | NEW |