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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/serve/gets_first_if_git_url_changed_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 import 'utils.dart';
5 main() {
6 initConfig();
7 integration(
8 "gets first if a git dependency's url doesn't match the one in "
9 "the lock file",
10 () {
11 d.git(
12 "foo-before.git",
13 [d.libPubspec("foo", "1.0.0"), d.libDir("foo", "before")]).create();
14 d.git(
15 "foo-after.git",
16 [d.libPubspec("foo", "1.0.0"), d.libDir("foo", "after")]).create();
17 d.appDir({
18 "foo": {
19 "git": "../foo-before.git"
20 }
21 }).create();
22 pubGet();
23 d.appDir({
24 "foo": {
25 "git": "../foo-after.git"
26 }
27 }).create();
28 pubServe(shouldGetFirst: true);
29 requestShouldSucceed("packages/foo/foo.dart", 'main() => "after";');
30 endPubServe();
31 });
32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698