(t *testing.T, requireCallback func(l *lua.State), luaSource string)
| 8 | ) |
| 9 | |
| 10 | func RunLuaTestString(t *testing.T, requireCallback func(l *lua.State), luaSource string) { |
| 11 | runLuaTest(t, requireCallback, func(l *lua.State) error { |
| 12 | return lua.LoadString(l, luaSource) |
| 13 | }) |
| 14 | } |
| 15 | |
| 16 | func RunLuaTestFile(t *testing.T, requireCallback func(l *lua.State), luaSourceFileName string) { |
| 17 | runLuaTest(t, requireCallback, func(l *lua.State) error { |
nothing calls this directly
no test coverage detected