(t *testing.T)
| 2895 | } |
| 2896 | |
| 2897 | func Test_validateEqualArgs(t *testing.T) { |
| 2898 | if validateEqualArgs(func() {}, func() {}) == nil { |
| 2899 | t.Error("non-nil functions should error") |
| 2900 | } |
| 2901 | |
| 2902 | if validateEqualArgs(func() {}, func() {}) == nil { |
| 2903 | t.Error("non-nil functions should error") |
| 2904 | } |
| 2905 | |
| 2906 | if validateEqualArgs(nil, nil) != nil { |
| 2907 | t.Error("nil functions are equal") |
| 2908 | } |
| 2909 | } |
| 2910 | |
| 2911 | func Test_truncatingFormat(t *testing.T) { |
| 2912 |
nothing calls this directly
no test coverage detected
searching dependent graphs…