(t *testing.T, v1 interface{})
| 36 | } |
| 37 | |
| 38 | func errorIfNil(t *testing.T, v1 interface{}) { |
| 39 | if fmt.Sprint(v1) == "<nil>" { |
| 40 | t.Errorf("%v non-nil value expected, but got nil", positionString(1)) |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | func errorIfScriptFail(t *testing.T, L *LState, script string) { |
| 45 | if err := L.DoString(script); err != nil { |
no test coverage detected
searching dependent graphs…