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

Side by Side Diff: test/get/git/different_repo_name_test.dart

Issue 1585513002: Get rid of all the library tags. (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
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;
6
7 import '../../descriptor.dart' as d; 5 import '../../descriptor.dart' as d;
8 import '../../test_pub.dart'; 6 import '../../test_pub.dart';
9 7
10 main() { 8 main() {
11 integration('doesn\'t require the repository name to match the name in the ' 9 integration('doesn\'t require the repository name to match the name in the '
12 'pubspec', () { 10 'pubspec', () {
13 ensureGit(); 11 ensureGit();
14 12
15 d.git('foo.git', [ 13 d.git('foo.git', [
16 d.libDir('weirdname'), 14 d.libDir('weirdname'),
17 d.libPubspec('weirdname', '1.0.0') 15 d.libPubspec('weirdname', '1.0.0')
18 ]).create(); 16 ]).create();
19 17
20 d.dir(appPath, [ 18 d.dir(appPath, [
21 d.appPubspec({ 19 d.appPubspec({
22 "weirdname": {"git": "../foo.git"} 20 "weirdname": {"git": "../foo.git"}
23 }) 21 })
24 ]).create(); 22 ]).create();
25 23
26 pubGet(); 24 pubGet();
27 25
28 d.dir(packagesPath, [ 26 d.dir(packagesPath, [
29 d.dir('weirdname', [ 27 d.dir('weirdname', [
30 d.file('weirdname.dart', 'main() => "weirdname";') 28 d.file('weirdname.dart', 'main() => "weirdname";')
31 ]) 29 ])
32 ]).validate(); 30 ]).validate();
33 }); 31 });
34 } 32 }
OLDNEW
« no previous file with comments | « test/get/git/dependency_name_match_pubspec_test.dart ('k') | test/get/git/doesnt_fetch_if_nothing_changes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698