(t *testing.T, val, expected interface{})
| 59 | } |
| 60 | |
| 61 | func testValue(t *testing.T, val, expected interface{}) { |
| 62 | if val == expected { |
| 63 | return |
| 64 | } |
| 65 | if reflect.DeepEqual(val, expected) { |
| 66 | return |
| 67 | } |
| 68 | t.Fatalf("expected value is %+v, but got %+v", expected, val) |
| 69 | } |
| 70 | |
| 71 | func testTrue(t *testing.T, v bool) { |
| 72 | if v { |
no outgoing calls
no test coverage detected
searching dependent graphs…