Index: sdk/lib/_internal/pub_generated/test/serve/invalid_method_test.dart |
diff --git a/sdk/lib/_internal/pub_generated/test/serve/invalid_method_test.dart b/sdk/lib/_internal/pub_generated/test/serve/invalid_method_test.dart |
index ef784e21b77ab14c3e96a190d4c2ed26dfb9f765..cccad88615b5162760d7ed761509720c8327d599 100644 |
--- a/sdk/lib/_internal/pub_generated/test/serve/invalid_method_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/serve/invalid_method_test.dart |
@@ -1,14 +1,22 @@ |
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
library pub_tests; |
+ |
import '../descriptor.dart' as d; |
import '../test_pub.dart'; |
import 'utils.dart'; |
+ |
main() { |
initConfig(); |
integration("responds with a 405 for an invalid method", () { |
d.dir( |
appPath, |
- [d.appPubspec(), d.dir("web", [d.file("index.html", "<body>")])]).create(); |
+ [d.appPubspec(), d.dir("web", [d.file("index.html", "<body>"),])]).create(); |
+ |
pubServe(); |
+ |
postShould405("index.html"); |
endPubServe(); |
}); |