| 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 all_test; |   5 library all_test; | 
|   6  |   6  | 
|   7 import 'dart:io' as io; |   7 import 'dart:io' as io; | 
|   8  |   8  | 
|   9 import '../../../../pkg/unittest/lib/unittest.dart'; |   9 // TODO(rnystrom): Use "package:" path when #7491 is fixed. | 
|  10 import '../../../pub/path.dart' as path; |  10 import '../../unittest/lib/unittest.dart'; | 
 |  11 import '../lib/path.dart' as path; | 
|  11  |  12  | 
|  12 main() { |  13 main() { | 
|  13   group('path.Style', () { |  14   group('path.Style', () { | 
|  14     test('name', () { |  15     test('name', () { | 
|  15       expect(path.Style.posix.name, 'posix'); |  16       expect(path.Style.posix.name, 'posix'); | 
|  16       expect(path.Style.windows.name, 'windows'); |  17       expect(path.Style.windows.name, 'windows'); | 
|  17     }); |  18     }); | 
|  18  |  19  | 
|  19     test('separator', () { |  20     test('separator', () { | 
|  20       expect(path.Style.posix.separator, '/'); |  21       expect(path.Style.posix.separator, '/'); | 
| (...skipping 29 matching lines...) Expand all  Loading... | 
|  50       } else { |  51       } else { | 
|  51         expect(builder.style, path.Style.posix); |  52         expect(builder.style, path.Style.posix); | 
|  52       } |  53       } | 
|  53     }); |  54     }); | 
|  54   }); |  55   }); | 
|  55  |  56  | 
|  56   test('current', () { |  57   test('current', () { | 
|  57     expect(path.current, new io.Directory.current().path); |  58     expect(path.current, new io.Directory.current().path); | 
|  58   }); |  59   }); | 
|  59 } |  60 } | 
| OLD | NEW |