aboutsummaryrefslogtreecommitdiff
path: root/test/lua
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-11-02 17:25:47 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-11-02 17:25:47 +0100
commitb26f950ccaa0a1a973b282a516bd80295536feb2 (patch)
tree1066b528ff7a14325b7b7402953e8f39c92e984f /test/lua
parentc467f0fed109c362faa733c1a258a26bc6aba5cd (diff)
downloadpandoc-b26f950ccaa0a1a973b282a516bd80295536feb2.tar.gz
Lua: display Attr values using their native Haskell representation
Diffstat (limited to 'test/lua')
-rw-r--r--test/lua/module/pandoc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lua/module/pandoc.lua b/test/lua/module/pandoc.lua
index 057d24202..9f5f5c771 100644
--- a/test/lua/module/pandoc.lua
+++ b/test/lua/module/pandoc.lua
@@ -185,10 +185,10 @@ return {
end),
test('has property `text`', function ()
local code = pandoc.Code('true')
- -- assert.are_equal(code.text, 'true')
+ assert.are_equal(code.text, 'true')
- -- code.text = '1 + 1'
- -- assert.are_equal(pandoc.Code('1 + 1'), code)
+ code.text = '1 + 1'
+ assert.are_equal(pandoc.Code('1 + 1'), code)
end),
},
group 'Link' {