aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-10-24 22:49:34 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2021-10-25 09:08:58 +0200
commit230b133db53e8ef2677fe13304e1e03276ca6448 (patch)
treebada7875937f7d4f7d2c98d6ea4c0d169dc37dcd /test
parent113a66bd08fa4921157d95873c18c46431e565f9 (diff)
downloadpandoc-230b133db53e8ef2677fe13304e1e03276ca6448.tar.gz
Lua: marshal Citation values as userdata objects
Diffstat (limited to 'test')
-rw-r--r--test/lua/module/pandoc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lua/module/pandoc.lua b/test/lua/module/pandoc.lua
index a1bcd53fe..ba6d2a1df 100644
--- a/test/lua/module/pandoc.lua
+++ b/test/lua/module/pandoc.lua
@@ -176,6 +176,8 @@ return {
local cloned = cite:clone()
cite.id = 'newton'
assert.are_same(cloned.id, 'leibniz')
+ assert.are_same(cite.id, 'newton')
+ assert.are_same(cite.mode, cloned.mode)
end),
},