aboutsummaryrefslogtreecommitdiff
path: root/Lua/test.lua
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2022-10-27 13:17:23 -0400
committerBruce Hill <bruce@bruce-hill.com>2022-10-27 13:17:23 -0400
commite258645a523c5fb4407be4a9e90df1314b225191 (patch)
tree5b760bec6541cbbafd7afde9a0d29a628134e4cf /Lua/test.lua
parent54e87ff91eb4f4f65c3f6a25a7222a442d430927 (diff)
Better error handling behavior
Diffstat (limited to 'Lua/test.lua')
-rw-r--r--Lua/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lua/test.lua b/Lua/test.lua
index d812009..48a2ffa 100644
--- a/Lua/test.lua
+++ b/Lua/test.lua
@@ -38,7 +38,7 @@ print("Testing parse errors:")
local ok, msg = pcall(function()
bp.match(".;//;;; wtf", "xxx")
end)
-if not ok then print(("\x1B[41;30mParse error:\x1B[0;1;31m %s\x1B[m\n"):format(msg)) end
+if not ok then print(("Successfully got parse error: \"%s\"\n"):format(msg)) end
print("Testing builtins:")
print(bp.match("parens", "...(foo())..."))