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

Unified Diff: sdk/lib/_internal/pub/test/serve/missing_file_test.dart

Issue 308773003: Found some more code referring to the special "asset" directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub/test/serve/missing_file_test.dart
diff --git a/sdk/lib/_internal/pub/test/serve/missing_file_test.dart b/sdk/lib/_internal/pub/test/serve/missing_file_test.dart
index 3b593ec845eba8ea1776ed21d1e2e4c4c28380cb..be5674312e5e4cf0ec90eaf540203956d386f599 100644
--- a/sdk/lib/_internal/pub/test/serve/missing_file_test.dart
+++ b/sdk/lib/_internal/pub/test/serve/missing_file_test.dart
@@ -17,9 +17,6 @@ main() {
integration("responds with a 404 for missing source files", () {
d.dir(appPath, [
d.appPubspec(),
- d.dir("asset", [
- d.file("nope.png", "nope")
- ]),
d.dir("lib", [
d.file("nope.dart", "nope")
]),
@@ -34,7 +31,6 @@ main() {
// Now delete them.
schedule(() {
- deleteEntry(path.join(sandboxDir, appPath, "asset", "nope.png"));
deleteEntry(path.join(sandboxDir, appPath, "lib", "nope.dart"));
deleteEntry(path.join(sandboxDir, appPath, "web", "index.html"));
}, "delete files");
@@ -46,9 +42,7 @@ main() {
requestShould404("index.html");
requestShould404("packages/myapp/nope.dart");
- requestShould404("assets/myapp/nope.png");
requestShould404("dir/packages/myapp/nope.dart");
- requestShould404("dir/assets/myapp/nope.png");
endPubServe();
});
}

Powered by Google App Engine
This is Rietveld 408576698