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

Side by Side Diff: test/upgrade/report/highlights_overrides_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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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("highlights overridden packages", () { 9 integration("highlights overridden packages", () {
12 servePackages((builder) => builder.serve("overridden", "1.0.0")); 10 servePackages((builder) => builder.serve("overridden", "1.0.0"));
13 11
14 d.dir(appPath, [ 12 d.dir(appPath, [
15 d.pubspec({ 13 d.pubspec({
16 "name": "myapp", 14 "name": "myapp",
17 "dependency_overrides": { 15 "dependency_overrides": {
18 "overridden": "any" 16 "overridden": "any"
19 } 17 }
20 }) 18 })
21 ]).create(); 19 ]).create();
22 20
23 // Upgrade everything. 21 // Upgrade everything.
24 pubUpgrade(output: new RegExp(r""" 22 pubUpgrade(output: new RegExp(r"""
25 Resolving dependencies\.\.\..* 23 Resolving dependencies\.\.\..*
26 ! overridden 1\.0\.0 \(overridden\) 24 ! overridden 1\.0\.0 \(overridden\)
27 """, multiLine: true)); 25 """, multiLine: true));
28 }); 26 });
29 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698