diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-11-02 21:53:08 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-11-02 21:53:08 +0100 |
commit | 45bcd7d3f1c78d08d20db3b6929421c896fa869a (patch) | |
tree | a4d2648d7833408ccc718b8d550d9b1d62d48719 /test | |
parent | dbc654e4a7877dacf02c91ee9dcd567194682efa (diff) | |
download | pandoc-45bcd7d3f1c78d08d20db3b6929421c896fa869a.tar.gz |
Lua: fix typo in SoftBreak constructor
Diffstat (limited to 'test')
-rw-r--r-- | test/lua/module/pandoc.lua | 6 |
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'}}) |