Chromium Code Reviews| 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..6bcf48ed185200525465ca49c6b386a64e8023cf 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,16 @@ 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") |
| - ] |
| - }); |
| + expectWebSocketCall("pathToUrls", {"path": path.join("web", "index.html")}, |
|
Bob Nystrom
2014/03/21 17:42:25
Nit, but I think this would be a bit easier to rea
nweiz
2014/03/21 20:27:38
Done.
|
| + result: {"urls": [getServerUrl("web", "index.html")]}); |
| + |
| + expectWebSocketCall("pathToUrls", { |
| + "path": path.join("web", "sub", "bar.html") |
| + }, result: { |
| + "urls": [ |
| + getServerUrl("web", "sub/bar.html"), |
| + getServerUrl(path.join("web", "sub"), "bar.html") |
| + ] |
| }); |
| endPubServe(); |