We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 295ec93 commit d3da796Copy full SHA for d3da796
tests/testdata/test_api.lua
@@ -7,9 +7,9 @@ function TestTempDir(t)
7
t:Run('createTmpDir', function(t)
8
tempDir = t:TempDir()
9
stat = goos.stat(tempDir)
10
- assert(stat)
11
- assert(stat.is_dir)
+ assert(stat, tempDir .. " does not exist")
+ assert(stat.is_dir, tempDir .. " is not a dir")
12
end)
13
assert(tempDir ~= '', tempDir)
14
- assert(not goos.stat(tempDir))
+ assert(not goos.stat(tempDir), tempDir .. " exists after the subtest completes")
15
end
0 commit comments