(t *testing.T, label string, got, want []string)
| 627 | } |
| 628 | |
| 629 | func assertStringSlice(t *testing.T, label string, got, want []string) { |
| 630 | t.Helper() |
| 631 | if len(got) != len(want) { |
| 632 | t.Errorf("%s: got %v, want %v", label, got, want) |
| 633 | return |
| 634 | } |
| 635 | for i := range got { |
| 636 | if got[i] != want[i] { |
| 637 | t.Errorf("%s[%d] = %q, want %q", label, i, got[i], want[i]) |
| 638 | } |
| 639 | } |
| 640 | } |
| 641 | |
| 642 | func TestLowerFirst(t *testing.T) { |
| 643 | tests := []struct { |
no outgoing calls
no test coverage detected