Chromium Code Reviews| 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 lock_file_test; | 5 library lock_file_test; | 
| 6 | 6 | 
| 7 import '../../../pkg/unittest/lib/unittest.dart'; | 7 import 'package:unittest/unittest.dart'; | 
| 8 import '../../pub/directory_tree.dart'; | 8 import '../../pub/directory_tree.dart'; | 
| 
 
Andrei Mouravski
2013/03/27 01:16:37
Newline to match others.
 
nweiz
2013/03/27 21:03:52
Done.
 
 | |
| 9 | 9 | 
| 10 main() { | 10 main() { | 
| 11 test('no files', () { | 11 test('no files', () { | 
| 12 expect(generateTree([]), equals("")); | 12 expect(generateTree([]), equals("")); | 
| 13 }); | 13 }); | 
| 14 | 14 | 
| 15 test('up to ten files in one directory are shown', () { | 15 test('up to ten files in one directory are shown', () { | 
| 16 var files = [ | 16 var files = [ | 
| 17 "dir/a.dart", | 17 "dir/a.dart", | 
| 18 "dir/b.dart", | 18 "dir/b.dart", | 
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 136 |-- absolute_test.dart | 136 |-- absolute_test.dart | 
| 137 |-- all_test.dart | 137 |-- all_test.dart | 
| 138 |-- basename_test.dart | 138 |-- basename_test.dart | 
| 139 | (7 more...) | 139 | (7 more...) | 
| 140 |-- path_windows_test.dart | 140 |-- path_windows_test.dart | 
| 141 |-- relative_test.dart | 141 |-- relative_test.dart | 
| 142 '-- split_test.dart | 142 '-- split_test.dart | 
| 143 """)); | 143 """)); | 
| 144 }); | 144 }); | 
| 145 } | 145 } | 
| OLD | NEW |