(left []string, right []string)
| 3 | import "testing" |
| 4 | |
| 5 | func 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 | |
| 19 | var stringSliceEqTests = []struct { |
| 20 | Left []string |
no outgoing calls
no test coverage detected