MCPcopy
hub / github.com/stretchr/testify / TestEqualValuesWrapper

Function TestEqualValuesWrapper

assert/forward_assertions_test.go:59–67  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

57}
58
59func TestEqualValuesWrapper(t *testing.T) {
60 t.Parallel()
61
62 assert := New(new(testing.T))
63
64 if !assert.EqualValues(uint32(10), int32(10)) {
65 t.Error("EqualValues should return true")
66 }
67}
68
69func TestNotNilWrapper(t *testing.T) {
70 t.Parallel()

Callers

nothing calls this directly

Calls 3

NewFunction · 0.70
EqualValuesMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected