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

Function TestNotEqualWrapper

internal/testify/require/forward_requirements_test.go:46–56  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

44}
45
46func TestNotEqualWrapper(t *testing.T) {
47 require := New(t)
48 require.NotEqual(1, 2)
49
50 mockT := new(MockT)
51 mockRequire := New(mockT)
52 mockRequire.NotEqual(2, 2)
53 if !mockT.Failed {
54 t.Error("Check should fail")
55 }
56}
57
58func TestExactlyWrapper(t *testing.T) {
59 require := New(t)

Callers

nothing calls this directly

Calls 3

NewFunction · 0.70
NotEqualMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…