aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-10-20 21:40:07 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-22 11:16:51 -0700
commite4287e6c950745ad78954b791bc87f322cd05530 (patch)
tree967cf9866536e96b1656842e6b0792c01e2bc12f /test
parent9e74826ba9ce4139bfdd3f057a79efa8b644e85a (diff)
downloadpandoc-e4287e6c950745ad78954b791bc87f322cd05530.tar.gz
Lua: marshal Pandoc values as userdata
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Lua.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Tests/Lua.hs b/test/Tests/Lua.hs
index e19f6f9e8..5538915a7 100644
--- a/test/Tests/Lua.hs
+++ b/test/Tests/Lua.hs
@@ -217,7 +217,7 @@ tests = map (localOption (QuickCheckTests 20))
eitherPandoc <- Catch.try (peek @Pandoc Lua.top)
case eitherPandoc of
Left (PandocLuaError msg) -> do
- let expectedMsg = "table expected, got boolean\n"
+ let expectedMsg = "Pandoc expected, got boolean\n"
<> "\twhile retrieving Pandoc value"
Lua.liftIO $ assertEqual "unexpected error message" expectedMsg msg
Left e -> error ("Expected a Lua error, but got " <> show e)