(t *testing.T, v1 interface{})
| 30 | } |
| 31 | |
| 32 | func errorIfNotNil(t *testing.T, v1 interface{}) { |
| 33 | if fmt.Sprint(v1) != "<nil>" { |
| 34 | t.Errorf("%v nil expected, but got '%v'", positionString(1), v1) |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | func errorIfNil(t *testing.T, v1 interface{}) { |
| 39 | if fmt.Sprint(v1) == "<nil>" { |
no test coverage detected
searching dependent graphs…