(t *testing.T)
| 66 | } |
| 67 | |
| 68 | func TestSetFromArrayError(t *testing.T) { |
| 69 | _, err := SetFromArray([]string{""}, RemoveStar) |
| 70 | assert.True(t, err != nil, "SetFromArray didn't return an error") |
| 71 | _, err = SetFromArray([]string{"chan1", "chan2", "bogus,name", "chan3"}, RemoveStar) |
| 72 | assert.True(t, err != nil, "SetFromArray didn't return an error") |
| 73 | } |
| 74 | |
| 75 | func TestSetFromArrayNoValidate(t *testing.T) { |
| 76 | testCases := []struct { |
nothing calls this directly
no test coverage detected