Skip to content

Commit d3301f8

Browse files
authored
Fix GLuaTest_CreateExpect hook (#107)
Fix GLuaTest_CreateExpect hook not passing subject as arg
1 parent e9d4e48 commit d3301f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/gluatest/expectations/expect.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ return function( subject, ... )
1818
wasNot = negative
1919
}
2020

21-
hook.Run( "GLuaTest_CreateExpect", expect )
21+
hook.Run( "GLuaTest_CreateExpect", subject, expect )
2222

2323
return expect
2424
end

0 commit comments

Comments
 (0)