Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Side by Side Diff: test/ascii_tree_test.dart

Issue 1153643002: Use "package:" imports for pub. (Closed) Base URL: git@github.com:dart-lang/pub_test@master
Patch Set: Code review changes Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/dart.dart ('k') | test/barback/fails_if_args_with_all_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'package:pub/src/ascii_tree.dart' as tree;
8 import 'package:pub/src/utils.dart';
7 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
8 10
9 import '../lib/src/ascii_tree.dart' as tree;
10 import '../lib/src/utils.dart';
11
12 main() { 11 main() {
13 runningAsTest = true; 12 runningAsTest = true;
14 13
15 group('tree.fromFiles', () { 14 group('tree.fromFiles', () {
16 test('no files', () { 15 test('no files', () {
17 expect(tree.fromFiles([]), equals("")); 16 expect(tree.fromFiles([]), equals(""));
18 }); 17 });
19 18
20 test('up to ten files in one directory are shown', () { 19 test('up to ten files in one directory are shown', () {
21 var files = [ 20 var files = [
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 |-- g.dart 238 |-- g.dart
240 |-- h.dart 239 |-- h.dart
241 |-- i.dart 240 |-- i.dart
242 |-- j.dart 241 |-- j.dart
243 |-- k.dart 242 |-- k.dart
244 '-- l.dart 243 '-- l.dart
245 """)); 244 """));
246 }); 245 });
247 246
248 } 247 }
OLDNEW
« no previous file with comments | « lib/src/dart.dart ('k') | test/barback/fails_if_args_with_all_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698