aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lua/module/pandoc.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lua/module/pandoc.lua b/test/lua/module/pandoc.lua
index fac95d27f..4da663f07 100644
--- a/test/lua/module/pandoc.lua
+++ b/test/lua/module/pandoc.lua
@@ -322,6 +322,12 @@ return {
assert.are_equal(elem, pandoc.SmallCaps{'word'})
end)
},
+ group 'SoftBreak' {
+ test('can be constructed', function ()
+ local sb = pandoc.SoftBreak()
+ assert.are_equal(sb.t, 'SoftBreak')
+ end)
+ },
group 'Span' {
test('has property `attr`', function ()
local elem = pandoc.Span('one', {'', {'number'}})