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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/get/broken_symlink_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 'package:path/path.dart' as path;
3 import '../descriptor.dart' as d;
4 import '../test_pub.dart';
5 main() {
6 initConfig();
7 integration('replaces a broken "packages" symlink', () {
8 d.dir(appPath, [d.appPubspec(), d.libDir('foo'), d.dir("bin")]).create();
9 scheduleSymlink("nonexistent", path.join(appPath, "packages"));
10 pubGet();
11 d.dir(
12 appPath,
13 [
14 d.dir(
15 "bin",
16 [
17 d.dir(
18 "packages",
19 [d.dir("myapp", [d.file('foo.dart', 'main() => "foo";')] )])])]).validate();
20 });
21 integration('replaces a broken secondary "packages" symlink', () {
22 d.dir(appPath, [d.appPubspec(), d.libDir('foo'), d.dir("bin")]).create();
23 scheduleSymlink("nonexistent", path.join(appPath, "bin", "packages"));
24 pubGet();
25 d.dir(
26 appPath,
27 [
28 d.dir(
29 "bin",
30 [
31 d.dir(
32 "packages",
33 [d.dir("myapp", [d.file('foo.dart', 'main() => "foo";')] )])])]).validate();
34 });
35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698