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

Function TestYAMLEq_HashAndArrayNotEquivalent

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

Source from the content-addressed store, hash-verified

2421}
2422
2423func TestYAMLEq_HashAndArrayNotEquivalent(t *testing.T) {
2424 mockT := new(testing.T)
2425 False(t, YAMLEq(mockT, `["foo", {"hello": "world", "nested": "hash"}]`, `{"foo": "bar", {"nested": "hash", "hello": "world"}}`))
2426}
2427
2428func TestYAMLEq_HashesNotEquivalent(t *testing.T) {
2429 mockT := new(testing.T)

Callers

nothing calls this directly

Calls 2

FalseFunction · 0.70
YAMLEqFunction · 0.70

Tested by

no test coverage detected