| 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; | |
| 6 | |
| 7 import 'package:pub/src/ascii_tree.dart' as tree; | 5 import 'package:pub/src/ascii_tree.dart' as tree; |
| 8 import 'package:test/test.dart'; | 6 import 'package:test/test.dart'; |
| 9 | 7 |
| 10 main() { | 8 main() { |
| 11 group('tree.fromFiles', () { | 9 group('tree.fromFiles', () { |
| 12 test('no files', () { | 10 test('no files', () { |
| 13 expect(tree.fromFiles([]), equals("")); | 11 expect(tree.fromFiles([]), equals("")); |
| 14 }); | 12 }); |
| 15 | 13 |
| 16 test('up to ten files in one directory are shown', () { | 14 test('up to ten files in one directory are shown', () { |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 |-- g.dart | 233 |-- g.dart |
| 236 |-- h.dart | 234 |-- h.dart |
| 237 |-- i.dart | 235 |-- i.dart |
| 238 |-- j.dart | 236 |-- j.dart |
| 239 |-- k.dart | 237 |-- k.dart |
| 240 '-- l.dart | 238 '-- l.dart |
| 241 """)); | 239 """)); |
| 242 }); | 240 }); |
| 243 | 241 |
| 244 } | 242 } |
| OLD | NEW |