Skip to content

Commit f63197c

Browse files
committed
NoErrorf should call Failf.
1 parent e1e1904 commit f63197c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/assertions.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function assertions:NoErrorf(t, err, fmt, ...)
152152
if not err then
153153
return true
154154
end
155-
return self:Fail(t, string.format([[
155+
return self:Failf(t, string.format([[
156156
157157
Error: Received unexpected error:
158158
%s

0 commit comments

Comments
 (0)