diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-01-20 21:47:15 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-01-20 21:48:49 -0800 |
commit | bc95ec467b71139e4f50aa2044879d69dfd81717 (patch) | |
tree | 33dc428eb267aa08c863aa890dd7ca150035c45f | |
parent | 2a0a770c49ef41a707b0133a77d409e37559d1ad (diff) | |
download | view.love-bc95ec467b71139e4f50aa2044879d69dfd81717.tar.gz |
show another detail on test failure
-rw-r--r-- | test.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |