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

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

Issue 208703003: Use the right name for the OldWebSocketApi constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: roll forward web socket change 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..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")
});

Powered by Google App Engine
This is Rietveld 408576698