diff options
-rw-r--r-- | test/lua/module/pandoc-path.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/lua/module/pandoc-path.lua b/test/lua/module/pandoc-path.lua index 7f3b21fe2..81c11e7b7 100644 --- a/test/lua/module/pandoc-path.lua +++ b/test/lua/module/pandoc-path.lua @@ -14,6 +14,14 @@ return { assert.is_truthy(path.separator:match '^[/\\]$') end), }, + group 'search path separator' { + test('is string', function () + assert.are_same(type(path.search_path_separator), 'string') + end), + test('is colon or semicolon', function () + assert.is_truthy(path.search_path_separator:match '^[:;]$') + end) + }, group 'module' { test('check function existence', function () local functions = { |