diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-02-06 18:07:20 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-06 13:37:20 +0100 |
| commit | e568cb8bf85161ea850ca2ae3b11247a0d5dcabd (patch) | |
| tree | 54a8077ef0f574e0f1afe2c7129289e4204a2be5 /cli | |
| parent | 428266c06a192f008a5429e871f783dfb4601f93 (diff) | |
chore(ws): remove unused op_ws_send_pong (#22283)
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/tests/unit/ops_test.ts | 2 | ||||
| -rw-r--r-- | cli/tools/test/fmt.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/cli/tests/unit/ops_test.ts b/cli/tests/unit/ops_test.ts index 71b66f312..e91c37e67 100644 --- a/cli/tests/unit/ops_test.ts +++ b/cli/tests/unit/ops_test.ts @@ -1,6 +1,6 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -const EXPECTED_OP_COUNT = 51; +const EXPECTED_OP_COUNT = 50; Deno.test(function checkExposedOps() { // @ts-ignore TS doesn't allow to index with symbol diff --git a/cli/tools/test/fmt.rs b/cli/tools/test/fmt.rs index ac5cb4877..468b9d8f0 100644 --- a/cli/tools/test/fmt.rs +++ b/cli/tools/test/fmt.rs @@ -292,6 +292,5 @@ pub const OP_DETAILS: phf::Map<&'static str, [&'static str; 2]> = phf_map! { "op_ws_send_binary" => ["send a message on a WebSocket", "closing a `WebSocket` or `WebSocketStream`"], "op_ws_send_binary_ab" => ["send a message on a WebSocket", "closing a `WebSocket` or `WebSocketStream`"], "op_ws_send_ping" => ["send a message on a WebSocket", "closing a `WebSocket` or `WebSocketStream`"], - "op_ws_send_pong" => ["send a message on a WebSocket", "closing a `WebSocket` or `WebSocketStream`"], "op_spawn_wait" => ["wait for a subprocess to exit", "awaiting the result of a `Deno.Process#status` call"], }; |
