MCPcopy Index your code
hub / github.com/expr-lang/expr / Test_validateEqualArgs

Function Test_validateEqualArgs

internal/testify/assert/assertions_test.go:2897–2909  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2895}
2896
2897func 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
2911func Test_truncatingFormat(t *testing.T) {
2912

Callers

nothing calls this directly

Calls 2

validateEqualArgsFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…