(t *testing.T, requireCallback func(l *lua.State), luaSourceFileName string)
| 14 | } |
| 15 | |
| 16 | func RunLuaTestFile(t *testing.T, requireCallback func(l *lua.State), luaSourceFileName string) { |
| 17 | runLuaTest(t, requireCallback, func(l *lua.State) error { |
| 18 | return lua.LoadFile(l, luaSourceFileName, "") |
| 19 | }) |
| 20 | } |
| 21 | |
| 22 | func runLuaTest(t *testing.T, requireCallback func(l *lua.State), loadCallback func(l *lua.State) error) { |
| 23 | l := lua.NewState() |
nothing calls this directly
no test coverage detected