util.strbitop: Remove unused import in tests
authorMatthew Wild <mwild1@gmail.com>
Fri, 23 Feb 2024 12:13:06 +0000
changeset 13434 1a5e3cf037f6
parent 13433 6cdc6923d65a
child 13435 4698f1e36e02
util.strbitop: Remove unused import in tests
spec/util_strbitop_spec.lua
--- a/spec/util_strbitop_spec.lua	Fri Feb 23 12:08:37 2024 +0000
+++ b/spec/util_strbitop_spec.lua	Fri Feb 23 12:13:06 2024 +0000
@@ -67,7 +67,7 @@
 			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"));