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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/serve/does_not_serve_gitignored_assets_in_a_path_dependency_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("doesn't serve .gitignored assets in a path dependency", () {
8 ensureGit();
9 d.dir(appPath, [d.appPubspec({
10 "foo": {
11 "path": "../foo"
12 }
13 })]).create();
14 d.git(
15 "foo",
16 [
17 d.libPubspec("foo", "1.0.0"),
18 d.dir(
19 "lib",
20 [
21 d.file("outer.txt", "outer contents"),
22 d.file("visible.txt", "visible"),
23 d.dir("dir", [d.file("inner.txt", "inner contents")])]),
24 d.file(".gitignore", "/lib/outer.txt\n/lib/dir")]).create();
25 pubServe(shouldGetFirst: true);
26 requestShould404("packages/foo/outer.txt");
27 requestShould404("packages/foo/dir/inner.txt");
28 requestShouldSucceed("packages/foo/visible.txt", "visible");
29 endPubServe();
30 });
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698