(t *testing.T)
| 22 | } |
| 23 | |
| 24 | func TestStringToSliceString(t *testing.T) { |
| 25 | for _, tt := range scenarios { |
| 26 | t.Run(tt.name, func(t *testing.T) { |
| 27 | s := StringToSliceString(tt.input, tt.separator) |
| 28 | for i, v := range tt.out { |
| 29 | if s[i] != v { |
| 30 | t.Errorf("got %q, want %q", s, tt.out) |
| 31 | } |
| 32 | } |
| 33 | }) |
| 34 | } |
| 35 | } |
nothing calls this directly
no test coverage detected