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

Side by Side Diff: test/ascii_tree_test.dart

Issue 1556243002: Fix analyzer hints and warnings in test/. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | 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; 7 import 'package:pub/src/ascii_tree.dart' as tree;
8 import 'package:pub/src/utils.dart';
9 import 'package:test/test.dart'; 8 import 'package:test/test.dart';
10 9
11 main() { 10 main() {
12 group('tree.fromFiles', () { 11 group('tree.fromFiles', () {
13 test('no files', () { 12 test('no files', () {
14 expect(tree.fromFiles([]), equals("")); 13 expect(tree.fromFiles([]), equals(""));
15 }); 14 });
16 15
17 test('up to ten files in one directory are shown', () { 16 test('up to ten files in one directory are shown', () {
18 var files = [ 17 var files = [
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 |-- g.dart 235 |-- g.dart
237 |-- h.dart 236 |-- h.dart
238 |-- i.dart 237 |-- i.dart
239 |-- j.dart 238 |-- j.dart
240 |-- k.dart 239 |-- k.dart
241 '-- l.dart 240 '-- l.dart
242 """)); 241 """));
243 }); 242 });
244 243
245 } 244 }
OLDNEW
« no previous file with comments | « no previous file | test/barback/fails_if_args_with_all_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698