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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/cache/add/already_cached_test.dart

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 library pub_tests;
2 import '../../descriptor.dart' as d;
3 import '../../test_pub.dart';
4 main() {
5 initConfig();
6 integration('does nothing if the package is already cached', () {
7 servePackages((builder) {
8 builder.serve("foo", "1.2.3");
9 });
10 schedulePub(
11 args: ["cache", "add", "foo"],
12 output: 'Downloading foo 1.2.3...');
13 schedulePub(
14 args: ["cache", "add", "foo"],
15 output: 'Already cached foo 1.2.3.');
16 d.cacheDir({
17 "foo": "1.2.3"
18 }).validate();
19 });
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698