Add tests for search_path_separator
This commit is contained in:
parent
e0bf4bfe82
commit
6f79042502
1 changed files with 8 additions and 0 deletions
|
@ -14,6 +14,14 @@ return {
|
||||||
assert.is_truthy(path.separator:match '^[/\\]$')
|
assert.is_truthy(path.separator:match '^[/\\]$')
|
||||||
end),
|
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' {
|
group 'module' {
|
||||||
test('check function existence', function ()
|
test('check function existence', function ()
|
||||||
local functions = {
|
local functions = {
|
||||||
|
|
Loading…
Reference in a new issue