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

Function TestNotZeroWrapper

internal/testify/assert/forward_assertions_test.go:569–580  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

567}
568
569func TestNotZeroWrapper(t *testing.T) {
570 assert := New(t)
571 mockAssert := New(new(testing.T))
572
573 for _, test := range zeros {
574 assert.False(mockAssert.NotZero(test), "Zero should return true for %v", test)
575 }
576
577 for _, test := range nonZeros {
578 assert.True(mockAssert.NotZero(test), "Zero should return false for %v", test)
579 }
580}
581
582func TestJSONEqWrapper_EqualSONString(t *testing.T) {
583 assert := New(new(testing.T))

Callers

nothing calls this directly

Calls 4

NewFunction · 0.70
FalseMethod · 0.45
NotZeroMethod · 0.45
TrueMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…