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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/downgrade/doesnt_change_git_dependencies_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 '../descriptor.dart' as d;
2 import '../test_pub.dart';
3 main() {
4 initConfig();
5 integration("doesn't change git dependencies", () {
6 ensureGit();
7 d.git('foo.git', [d.libDir('foo'), d.libPubspec('foo', '1.0.0')]).create();
8 d.appDir({
9 "foo": {
10 "git": "../foo.git"
11 }
12 }).create();
13 pubGet();
14 d.dir(
15 packagesPath,
16 [d.dir('foo', [d.file('foo.dart', 'main() => "foo";')])]).validate();
17 d.git(
18 'foo.git',
19 [d.libDir('foo', 'foo 2'), d.libPubspec('foo', '1.0.0')]).commit();
20 pubDowngrade();
21 d.dir(
22 packagesPath,
23 [d.dir('foo', [d.file('foo.dart', 'main() => "foo";')])]).validate();
24 });
25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698