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..f9446d95eaf2d1eb83f1ce575b0f6d057d383be5 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,10 +27,7 @@ main() { |
requestShouldSucceed("index.html", "<test body>", root: "test"); |
// Unbind the directory. |
- expectWebSocketCall({ |
- "command": "unserveDirectory", |
- "path": "test" |
- }, replyEquals: { |
+ expectWebSocketResult("unserveDirectory", {"path": "test"}, { |
"url": getServerUrl("test") |
}); |