MCPcopy Create free account
hub / github.com/stretchr/testify / TestJSONEq_ExpectedIsNotJSON

Function TestJSONEq_ExpectedIsNotJSON

assert/assertions_test.go:2363–2366  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2361}
2362
2363func TestJSONEq_ExpectedIsNotJSON(t *testing.T) {
2364 mockT := new(testing.T)
2365 False(t, JSONEq(mockT, "Not JSON", `{"foo": "bar", "hello": "world"}`))
2366}
2367
2368func TestJSONEq_ExpectedAndActualNotJSON(t *testing.T) {
2369 mockT := new(testing.T)

Callers

nothing calls this directly

Calls 2

FalseFunction · 0.70
JSONEqFunction · 0.70

Tested by

no test coverage detected