Lua: marshal Citation values as userdata objects

This commit is contained in:
Albert Krewinkel
2021-10-25 09:08:58 +02:00
parent 113a66bd08
commit 230b133db5
5 changed files with 55 additions and 39 deletions
+2
View File
@@ -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),
},