Skip to content

Commit

Permalink
Add an explicit test for PR #2973
Browse files Browse the repository at this point in the history
  • Loading branch information
bobtfish committed Oct 25, 2015
1 parent 965399c commit 96275ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/interpolate_funcs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,12 @@ func TestInterpolateFuncLength(t *testing.T) {
"5",
false,
},
// Want length 0 if we split an empty string then compact
{
`${length(compact(split(",", "")))}`,
"0",
false,
},
},
})
}
Expand Down

0 comments on commit 96275ee

Please sign in to comment.