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

Function TestNotZero

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

Source from the content-addressed store, hash-verified

2031}
2032
2033func TestNotZero(t *testing.T) {
2034 mockT := new(testing.T)
2035
2036 for _, test := range zeros {
2037 False(t, NotZero(mockT, test, "%#v is not the %v zero value", test, reflect.TypeOf(test)))
2038 }
2039
2040 for _, test := range nonZeros {
2041 True(t, NotZero(mockT, test, "%#v is not the %v zero value", test, reflect.TypeOf(test)))
2042 }
2043}
2044
2045func TestFileExists(t *testing.T) {
2046 mockT := new(testing.T)

Callers

nothing calls this directly

Calls 3

FalseFunction · 0.70
NotZeroFunction · 0.70
TrueFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…