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

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

Powered by Google App Engine
This is Rietveld 408576698