Skip to content

Commit 0a38655

Browse files
committed
fix: drop unused pcall result in checkThrows (luacheck clean)
1 parent c5f4ad7 commit 0a38655

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Test/Assert.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ return {
44
end),
55
checkThrows = (function(fn)
66
return function()
7-
local success, err = pcall(fn)
7+
local success = pcall(fn)
88
return not success
99
end
1010
end)

0 commit comments

Comments
 (0)