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

Unified Diff: sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_subdirectory_still_watched_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_subdirectory_still_watched_test.dart
diff --git a/sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_subdirectory_still_watched_test.dart b/sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_subdirectory_still_watched_test.dart
index c08ff4bf9c8b17d3a0e1cfe2f64edffe804911a5..902077c30b2a5efd819a26ed8cac873e0e126e1e 100644
--- a/sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_subdirectory_still_watched_test.dart
+++ b/sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_subdirectory_still_watched_test.dart
@@ -30,12 +30,8 @@ main() {
requestShouldSucceed("foo.txt", "before", root: exampleOne);
// Unbind the subdirectory.
- expectWebSocketCall({
- "command": "unserveDirectory",
- "path": exampleOne
- }, replyEquals: {
- "url": getServerUrl(exampleOne)
- });
+ expectWebSocketCall("unserveDirectory", {"path": exampleOne},
+ result: {"url": getServerUrl(exampleOne)});
// "example/one" should not be served now.
requestShouldNotConnect("foo.txt", root: exampleOne);

Powered by Google App Engine
This is Rietveld 408576698