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

Side by Side Diff: test/upgrade/git/upgrade_to_nonexistent_pubspec_test.dart

Issue 1528523003: Clean up the semantics of package descriptions. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 5 years 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 | « test/pubspec_test.dart ('k') | test/version_solver_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 pub_tests; 5 library pub_tests;
6 6
7 import '../../descriptor.dart' as d; 7 import '../../descriptor.dart' as d;
8 import '../../test_pub.dart'; 8 import '../../test_pub.dart';
9 9
10 main() { 10 main() {
(...skipping 13 matching lines...) Expand all
24 d.dir(packagesPath, [ 24 d.dir(packagesPath, [
25 d.dir('foo', [ 25 d.dir('foo', [
26 d.file('foo.dart', 'main() => "foo";') 26 d.file('foo.dart', 'main() => "foo";')
27 ]) 27 ])
28 ]).validate(); 28 ]).validate();
29 29
30 repo.runGit(['rm', 'pubspec.yaml']); 30 repo.runGit(['rm', 'pubspec.yaml']);
31 repo.runGit(['commit', '-m', 'delete']); 31 repo.runGit(['commit', '-m', 'delete']);
32 32
33 pubUpgrade(error: new RegExp(r'Could not find a file named "pubspec.yaml" ' 33 pubUpgrade(error: new RegExp(r'Could not find a file named "pubspec.yaml" '
34 r'in "[^\n]*"\.')); 34 r'in [^\n]*\.'));
35 35
36 d.dir(packagesPath, [ 36 d.dir(packagesPath, [
37 d.dir('foo', [ 37 d.dir('foo', [
38 d.file('foo.dart', 'main() => "foo";') 38 d.file('foo.dart', 'main() => "foo";')
39 ]) 39 ])
40 ]).validate(); 40 ]).validate();
41 }); 41 });
42 } 42 }
OLDNEW
« no previous file with comments | « test/pubspec_test.dart ('k') | test/version_solver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698