Use {a,b} instead of {b,c}

How does the alphabet even?
pull/3239/head
Anthony Stanton 11 years ago
parent ef2b0a0b71
commit 95b2a60b29

@ -17,15 +17,15 @@ func TestInterpolateFuncCompact(t *testing.T) {
Cases: []testFunctionCase{
// empty string within array
{
`${compact(split(",", "b,,c"))}`,
NewStringList([]string{"b", "c"}).String(),
`${compact(split(",", "a,,b"))}`,
NewStringList([]string{"a", "b"}).String(),
false,
},
// empty string at the end of array
{
`${compact(split(",", "b,c,"))}`,
NewStringList([]string{"b", "c"}).String(),
`${compact(split(",", "a,b,"))}`,
NewStringList([]string{"a", "b"}).String(),
false,
},

Loading…
Cancel
Save