MCPcopy Create free account
hub / github.com/adrg/strutil / requireEqual

Function requireEqual

internal/stringutil/stringutil_test.go:60–66  ·  view source on GitHub ↗
(t *testing.T, inputs [][2]interface{})

Source from the content-addressed store, hash-verified

58}
59
60func requireEqual(t *testing.T, inputs [][2]interface{}) {
61 t.Helper()
62
63 for _, input := range inputs {
64 require.Equal(t, input[0], input[1])
65 }
66}

Callers 3

TestCommonPrefixFunction · 0.70
TestUniqueSliceFunction · 0.70
TestSliceContainsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…