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

Function stringSliceEq

session/utils_test.go:5–17  ·  view source on GitHub ↗
(left []string, right []string)

Source from the content-addressed store, hash-verified

3import "testing"
4
5func stringSliceEq(left []string, right []string) bool {
6 if len(left) != len(right) {
7 return false
8 }
9
10 for idx := range left {
11 if left[idx] != right[idx] {
12 return false
13 }
14 }
15
16 return true
17}
18
19var stringSliceEqTests = []struct {
20 Left []string

Callers 3

TestStringSliceEqFunction · 0.85
TestObjectsAddFunction · 0.85
TestObjectsRemoveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected