diff options
| author | ruki <[email protected]> | 2022-03-09 23:25:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-03-09 23:25:38 +0800 |
| commit | fa2e4a9a5f21a8819beafb99a85652d83b7e5429 (patch) | |
| tree | 8ae328914c4dd54012e0cf6cc013547acaa4caeb /tests/modules/path/test.lua | |
| parent | 4eb65435961776fbefcc11ed774b778532c2c8dd (diff) | |
improve path.directory
Diffstat (limited to 'tests/modules/path/test.lua')
| -rw-r--r-- | tests/modules/path/test.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/modules/path/test.lua b/tests/modules/path/test.lua index 7f0224b86..05a5a0b40 100644 --- a/tests/modules/path/test.lua +++ b/tests/modules/path/test.lua @@ -35,7 +35,6 @@ function test_extension(t) end function test_directory(t) - --[[ t:are_equal(path.directory(""), nil) t:are_equal(path.directory("."), nil) if is_host("windows") then @@ -49,7 +48,7 @@ function test_directory(t) t:are_equal(path.directory("/tmp/xxx"), "/tmp") t:are_equal(path.directory("/tmp/xxx/"), "/tmp") t:are_equal(path.directory("/"), nil) - end]] + end end function test_absolute(t) |
