Index: sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_multiple_test.dart |
diff --git a/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_multiple_test.dart b/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_multiple_test.dart |
index d31bf9d5d40137106eb3efde8acbb1d007c0858a..b8b411098d986e4ba43a650f5d1fe8083efae97d 100644 |
--- a/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_multiple_test.dart |
+++ b/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_multiple_test.dart |
@@ -30,25 +30,19 @@ main() { |
pubServe(args: ["web", path.join("web", "sub"), "test"]); |
- schedule(() { |
- expectWebSocketCall({ |
- "command": "pathToUrls", |
- "path": path.join("web", "index.html") |
- }, replyEquals: { |
- "urls": [ |
- getServerUrl("web", "index.html") |
- ] |
- }); |
- |
- expectWebSocketCall({ |
- "command": "pathToUrls", |
- "path": path.join("web", "sub", "bar.html") |
- }, replyEquals: { |
- "urls": [ |
- getServerUrl("web", "sub/bar.html"), |
- getServerUrl(path.join("web", "sub"), "bar.html") |
- ] |
- }); |
+ expectWebSocketResult("pathToUrls", { |
+ "path": path.join("web", "index.html") |
+ }, { |
+ "urls": [getServerUrl("web", "index.html")] |
+ }); |
+ |
+ expectWebSocketResult("pathToUrls", { |
+ "path": path.join("web", "sub", "bar.html") |
+ }, { |
+ "urls": [ |
+ getServerUrl("web", "sub/bar.html"), |
+ getServerUrl(path.join("web", "sub"), "bar.html") |
+ ] |
}); |
endPubServe(); |