| Index: sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_not_served_test.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_not_served_test.dart (revision 34273)
|
| +++ sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_not_served_test.dart (working copy)
|
| @@ -21,8 +21,13 @@
|
| pubServe();
|
|
|
| // Unbind the directory.
|
| - expectWebSocketError("unserveDirectory", {"path": "test"}, NOT_SERVED,
|
| - 'Directory "test" is not bound to a server.');
|
| + expectWebSocketCall({
|
| + "command": "unserveDirectory",
|
| + "path": "test"
|
| + }, replyEquals: {
|
| + "code": "NOT_SERVED",
|
| + "error": 'Directory "test" is not bound to a server.'
|
| + });
|
|
|
| endPubServe();
|
| });
|
|
|