INNER CODE UNIT · Go
TestParsePrintSpec
codesenberg/bombardier · args_parser_test.go:732
func TestParsePrintSpec(t *testing.T) {
exps := []struct {
spec string
results [3]bool
err error
}{
{
"",
[3]bool{},
errEmptyPrintSpec,
},
{
"a,b,c",
[3]bool{},
fmt.Errorf("%q is not a valid part of print spec", "a"),
},
{
"i,p,r,i",