summaryrefslogtreecommitdiff
path: root/std/ws/test.ts
diff options
context:
space:
mode:
authorYosi Pramajaya <yosi.pramajaya@gmail.com>2020-12-06 21:51:13 +0700
committerGitHub <noreply@github.com>2020-12-06 09:51:13 -0500
commit0b37a79060e48c1fe6936c6e642044e9b20b9bb5 (patch)
treec8f759f1ad4f6f16bdf2193bac66eb92da9b4bd5 /std/ws/test.ts
parentc10280214e5e15fb31b83368082916b9f25470f9 (diff)
BREAKING(std/bytes): Adjust APIs based on std-wg discussion (#8612)
Diffstat (limited to 'std/ws/test.ts')
-rw-r--r--std/ws/test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/ws/test.ts b/std/ws/test.ts
index 9b7e7a710..cef4ff8ff 100644
--- a/std/ws/test.ts
+++ b/std/ws/test.ts
@@ -327,7 +327,7 @@ Deno.test({
assertEquals(decode(second.payload), "second");
assertEquals(ping.opcode, OpCode.Ping);
assertEquals(third.opcode, OpCode.BinaryFrame);
- assertEquals(bytes.equal(third.payload, new Uint8Array([3])), true);
+ assertEquals(bytes.equals(third.payload, new Uint8Array([3])), true);
},
});