Index: sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_test.dart |
diff --git a/sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_test.dart b/sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_test.dart |
index 361bb3f87b579cf75adbfe5c209353ae33eae596..e26496ff17c1da6e9c01f511b65baf04d9e6a1f0 100644 |
--- a/sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_test.dart |
+++ b/sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_test.dart |
@@ -27,12 +27,8 @@ main() { |
requestShouldSucceed("index.html", "<test body>", root: "test"); |
// Unbind the directory. |
- expectWebSocketCall({ |
- "command": "unserveDirectory", |
- "path": "test" |
- }, replyEquals: { |
- "url": getServerUrl("test") |
- }); |
+ expectWebSocketCall("unserveDirectory", {"path": "test"}, |
+ result: {"url": getServerUrl("test")}); |
// "test" should not be served now. |
requestShouldNotConnect("index.html", root: "test"); |