(t *testing.T)
| 3581 | } |
| 3582 | |
| 3583 | func Test_validateEqualArgs(t *testing.T) { |
| 3584 | t.Parallel() |
| 3585 | |
| 3586 | if validateEqualArgs(func() {}, func() {}) == nil { |
| 3587 | t.Error("non-nil functions should error") |
| 3588 | } |
| 3589 | |
| 3590 | if validateEqualArgs(func() {}, func() {}) == nil { |
| 3591 | t.Error("non-nil functions should error") |
| 3592 | } |
| 3593 | |
| 3594 | if validateEqualArgs(nil, nil) != nil { |
| 3595 | t.Error("nil functions are equal") |
| 3596 | } |
| 3597 | } |
| 3598 | |
| 3599 | func Test_truncatingFormat(t *testing.T) { |
| 3600 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…