From e71a49c3353fc1dd51759959ed8b6c4be4af69b6 Mon Sep 17 00:00:00 2001 From: Dekkonot Date: Fri, 20 Oct 2023 09:40:49 -0700 Subject: [PATCH] Fix the single wrong conformance test --- tests/conformance/bitwise.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conformance/bitwise.lua b/tests/conformance/bitwise.lua index 072db213c..be75f015a 100644 --- a/tests/conformance/bitwise.lua +++ b/tests/conformance/bitwise.lua @@ -169,6 +169,6 @@ assert(bit32.btest("1", 3) == true) assert(bit32.countlz("42") == 26) assert(bit32.countrz("42") == 1) assert(bit32.extract("42", 1, 3) == 5) -assert(bit32.byteswap("0xa1b2c3d4") == 0xd4c3d2a1) +assert(bit32.byteswap("0xa1b2c3d4") == 0xd4c3b2a1) return('OK')