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

Side by Side Diff: test/hosted/version_negotiation_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
« no previous file with comments | « test/hosted/remove_removed_transitive_dependency_test.dart ('k') | test/io_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;
6
7 import 'package:scheduled_test/scheduled_server.dart'; 5 import 'package:scheduled_test/scheduled_server.dart';
8 import 'package:scheduled_test/scheduled_test.dart'; 6 import 'package:scheduled_test/scheduled_test.dart';
9 import 'package:shelf/shelf.dart' as shelf; 7 import 'package:shelf/shelf.dart' as shelf;
10 8
11 import '../descriptor.dart' as d; 9 import '../descriptor.dart' as d;
12 import '../test_pub.dart'; 10 import '../test_pub.dart';
13 11
14 main() { 12 main() {
15 forBothPubGetAndUpgrade((command) { 13 forBothPubGetAndUpgrade((command) {
16 integration('sends the correct Accept header', () { 14 integration('sends the correct Accept header', () {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 (request) => new shelf.Response(406)); 52 (request) => new shelf.Response(406));
55 53
56 pub.shouldExit(1); 54 pub.shouldExit(1);
57 55
58 pub.stderr.expect(emitsLines( 56 pub.stderr.expect(emitsLines(
59 "Pub 0.1.2+3 is incompatible with the current version of localhost.\n" 57 "Pub 0.1.2+3 is incompatible with the current version of localhost.\n"
60 "Upgrade pub to the latest version and try again.")); 58 "Upgrade pub to the latest version and try again."));
61 }); 59 });
62 }); 60 });
63 } 61 }
OLDNEW
« no previous file with comments | « test/hosted/remove_removed_transitive_dependency_test.dart ('k') | test/io_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698