test createDirectory with absolute path

This commit is contained in:
Grump
2020-07-15 07:25:49 +02:00
parent a00b7c9bb2
commit fd61ce6e49

View File

@@ -228,6 +228,10 @@ function test_fs_createDirectory()
fs.remove('data/a/b/c') fs.remove('data/a/b/c')
fs.remove('data/a/b') fs.remove('data/a/b')
fs.remove('data/a') fs.remove('data/a')
local d = fs.getWorkingDirectory() .. '/data/a'
notFailed(fs.createDirectory(d))
fs.remove(d)
end end
function test_fs_remove() function test_fs_remove()