Index: test/serve/supports_cross_origin_header_test.dart |
diff --git a/test/serve/supports_cross_origin_header_test.dart b/test/serve/supports_cross_origin_header_test.dart |
index fbe54d7f31f8887fce8458a5f598761c76f11568..fc20d75117ba07f7403ea5faa49999114e79b9c7 100644 |
--- a/test/serve/supports_cross_origin_header_test.dart |
+++ b/test/serve/supports_cross_origin_header_test.dart |
@@ -17,7 +17,8 @@ main() { |
d.dir("web", [d.file("index.html", "<body>")]) |
]).create(); |
- pubServe(shouldGetFirst: true); |
+ pubGet(); |
+ pubServe(); |
requestShouldSucceed("index.html", "<body>", |
headers: containsPair("access-control-allow-origin", "*")); |
endPubServe(); |