aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_strbitop_spec.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2024-02-23 12:13:06 +0000
committerMatthew Wild <mwild1@gmail.com>2024-02-23 12:13:06 +0000
commit965d69763c0cc180ad97d403378a9db4626570e0 (patch)
tree4bae9a78e81bb174c967379aeca84077ab9e2850 /spec/util_strbitop_spec.lua
parent7f748556a2e4bc189bc994707138d129af2100a4 (diff)
downloadprosody-965d69763c0cc180ad97d403378a9db4626570e0.tar.gz
prosody-965d69763c0cc180ad97d403378a9db4626570e0.zip
util.strbitop: Remove unused import in tests
Diffstat (limited to 'spec/util_strbitop_spec.lua')
-rw-r--r--spec/util_strbitop_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util_strbitop_spec.lua b/spec/util_strbitop_spec.lua
index fdb21414..963c9516 100644
--- a/spec/util_strbitop_spec.lua
+++ b/spec/util_strbitop_spec.lua
@@ -67,7 +67,7 @@ describe("util.strbitop", function ()
assert(ret1 == ret2, ("parameter order should not make a difference to the result (%s, %s) = %d, reversed = %d"):format(a, b, ret1, ret2));
return ret1;
end
- local hex = require "util.hex";
+
it("works on single bytes", function ()
assert.equal(0, test("00000000", "11111111"));
assert.equal(1, test("10000000", "11111111"));