diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-10-24 22:49:34 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-10-25 09:08:58 +0200 |
commit | 230b133db53e8ef2677fe13304e1e03276ca6448 (patch) | |
tree | bada7875937f7d4f7d2c98d6ea4c0d169dc37dcd /test/lua/module | |
parent | 113a66bd08fa4921157d95873c18c46431e565f9 (diff) | |
download | pandoc-230b133db53e8ef2677fe13304e1e03276ca6448.tar.gz |
Lua: marshal Citation values as userdata objects
Diffstat (limited to 'test/lua/module')
-rw-r--r-- | test/lua/module/pandoc.lua | 2 |
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), }, |