diff options
author | Kim Alvefur <zash@zash.se> | 2020-10-14 19:41:42 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-10-14 19:41:42 +0200 |
commit | ca36c38a51401217183c8be4735b5566d14f3826 (patch) | |
tree | 676d8df02e0a42ffb5b6f646192e57e3a625fd49 /spec | |
parent | 897bfdfa7451418face800e1632ab11be965173a (diff) | |
download | prosody-ca36c38a51401217183c8be4735b5566d14f3826.tar.gz prosody-ca36c38a51401217183c8be4735b5566d14f3826.zip |
net.websocket.frames: Use C string XOR implementation
Diffstat (limited to 'spec')
-rw-r--r-- | spec/net_websocket_frames_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/net_websocket_frames_spec.lua b/spec/net_websocket_frames_spec.lua index 9499cee7..244afa3b 100644 --- a/spec/net_websocket_frames_spec.lua +++ b/spec/net_websocket_frames_spec.lua @@ -36,7 +36,7 @@ describe("net.websocket.frames", function () ["opcode"] = 0; ["length"] = 5; ["data"] = "hello"; - ["key"] = { 32, 0, 32, 0, }; + ["key"] = " \0 \0"; ["FIN"] = true; ["MASK"] = true; ["RSV1"] = false; |