Chromium Code Reviews| Index: sdk/lib/_internal/pub/test/serve/invalid_method_test.dart |
| diff --git a/sdk/lib/_internal/pub/test/serve/watch_removed_file_test.dart b/sdk/lib/_internal/pub/test/serve/invalid_method_test.dart |
| similarity index 67% |
| copy from sdk/lib/_internal/pub/test/serve/watch_removed_file_test.dart |
| copy to sdk/lib/_internal/pub/test/serve/invalid_method_test.dart |
| index 46fdc4cde14951770a824cddacad78b3ceac5a1b..4050ae5aa09f621e017f46c517fc6cfbc13e284a 100644 |
| --- a/sdk/lib/_internal/pub/test/serve/watch_removed_file_test.dart |
| +++ b/sdk/lib/_internal/pub/test/serve/invalid_method_test.dart |
| @@ -14,22 +14,17 @@ import 'utils.dart'; |
| main() { |
| initConfig(); |
| - integration("stop serving a file that is removed", () { |
| + integration("responds with a 404 for missing files", () { |
|
Bob Nystrom
2013/08/29 00:12:01
Fix the description.
nweiz
2013/09/04 00:21:58
Done.
|
| d.dir(appPath, [ |
| d.appPubspec(), |
| d.dir("web", [ |
| - d.file("index.html", "body") |
| + d.file("index.html", "<body>"), |
| ]) |
| ]).create(); |
| startPubServe(); |
| - requestShouldSucceed("index.html", "body"); |
| - schedule(() => deleteEntry( |
| - path.join(sandboxDir, appPath, "web", "index.html"))); |
| - |
| - waitForBuildSuccess(); |
| - requestShould404("index.html"); |
| + postShould405("index.html"); |
| endPubServe(); |
| }); |
| } |