Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Unified Diff: sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_test.dart

Issue 207563002: Move pub's web socket API over to use JSON RPC 2.0. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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");

Powered by Google App Engine
This is Rietveld 408576698