(t *testing.T, L *LState, script string)
| 42 | } |
| 43 | |
| 44 | func errorIfScriptFail(t *testing.T, L *LState, script string) { |
| 45 | if err := L.DoString(script); err != nil { |
| 46 | t.Errorf("%v %v", positionString(1), err.Error()) |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | func errorIfGFuncFail(t *testing.T, L *LState, f LGFunction) { |
| 51 | if err := L.GPCall(f, LNil); err != nil { |
no test coverage detected
searching dependent graphs…