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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/serve/does_not_serve_gitignored_assets_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", () {
8 ensureGit();
9 d.git(
10 appPath,
11 [
12 d.appPubspec(),
13 d.dir(
14 "web",
15 [
16 d.file("outer.txt", "outer contents"),
17 d.dir("dir", [d.file("inner.txt", "inner contents")])]),
18 d.file(".gitignore", "/web/outer.txt\n/web/dir")]).create();
19 pubServe();
20 requestShould404("outer.txt");
21 requestShould404("dir/inner.txt");
22 endPubServe();
23 });
24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698