diff options
| author | ruki <[email protected]> | 2022-03-09 23:52:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-03-09 23:52:26 +0800 |
| commit | b839cf85148abac9cb0bff5af013bb6ac7203824 (patch) | |
| tree | da2279effa483b40e96233e1d371303bb124696d /tests/modules/path/test.lua | |
| parent | 0aca668c37f645f7b8cdac44d3fb236c8f34196b (diff) | |
fix dir
Diffstat (limited to 'tests/modules/path/test.lua')
| -rw-r--r-- | tests/modules/path/test.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/modules/path/test.lua b/tests/modules/path/test.lua index 05a5a0b40..8954e64a3 100644 --- a/tests/modules/path/test.lua +++ b/tests/modules/path/test.lua @@ -37,6 +37,7 @@ end function test_directory(t) t:are_equal(path.directory(""), nil) t:are_equal(path.directory("."), nil) + t:are_equal(path.directory("foo"), ".") if is_host("windows") then t:are_equal(path.directory("c:"), nil) t:are_equal(path.directory("c:\\"), nil) |
