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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/global/activate/removes_old_lockfile_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 import 'package:scheduled_test/scheduled_test.dart';
2 import '../../descriptor.dart' as d;
3 import '../../test_pub.dart';
4 main() {
5 initConfig();
6 integration('removes the 1.6-style lockfile', () {
7 servePackages((builder) {
8 builder.serve("foo", "1.0.0");
9 });
10 d.dir(
11 cachePath,
12 [
13 d.dir(
14 'global_packages',
15 [
16 d.file(
17 'foo.lock',
18 'packages: {foo: {description: foo, source: hosted, '
19 'version: "1.0.0"}}}')])]).create();
20 schedulePub(args: ["global", "activate", "foo"]);
21 d.dir(
22 cachePath,
23 [
24 d.dir(
25 'global_packages',
26 [
27 d.nothing('foo.lock'),
28 d.dir('foo', [d.matcherFile('pubspec.lock', contains('1.0.0' ))])])]).validate();
29 });
30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698