MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / TestStringSliceEq

Function TestStringSliceEq

session/utils_test.go:31–45  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

29}
30
31func TestStringSliceEq(t *testing.T) {
32 for _, test := range stringSliceEqTests {
33 var failed bool
34
35 ok := stringSliceEq(test.Left, test.Right)
36 failed = ok != test.Expected
37 if failed {
38 t.Errorf(test.Description,
39 test.Left, test.Right, // input
40 ok, // actual output
41 test.Expected, // expected output
42 )
43 }
44 }
45}

Callers

nothing calls this directly

Calls 1

stringSliceEqFunction · 0.85

Tested by

no test coverage detected