From bc95ec467b71139e4f50aa2044879d69dfd81717 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 20 Jan 2023 21:47:15 -0800 Subject: [PATCH] show another detail on test failure --- test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.lua b/test.lua index 3c0f17f..cc94d94 100644 --- a/test.lua +++ b/test.lua @@ -14,7 +14,7 @@ end function check_eq(x, expected, msg) if not eq(x, expected) then - error(msg..'; got "'..x..'"') + error(msg..'; should be "'..expected..'" but got "'..x..'"') end end