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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/downgrade/doesnt_change_git_dependencies_test.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
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.
4
5 import '../descriptor.dart' as d;
6 import '../test_pub.dart';
7
8 main() {
9 initConfig();
10 integration("doesn't change git dependencies", () {
11 ensureGit();
12
13 d.git('foo.git', [d.libDir('foo'), d.libPubspec('foo', '1.0.0')]).create();
14
15 d.appDir({
16 "foo": {
17 "git": "../foo.git"
18 }
19 }).create();
20
21 pubGet();
22
23 d.dir(
24 packagesPath,
25 [d.dir('foo', [d.file('foo.dart', 'main() => "foo";')])]).validate();
26
27 d.git(
28 'foo.git',
29 [d.libDir('foo', 'foo 2'), d.libPubspec('foo', '1.0.0')]).commit();
30
31 pubDowngrade();
32
33 d.dir(
34 packagesPath,
35 [d.dir('foo', [d.file('foo.dart', 'main() => "foo";')])]).validate();
36 });
37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698