Skip to content

Commit

Permalink
💅🏼 Improve test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-drprasad committed Aug 22, 2020
1 parent bd7c625 commit 06cc2e8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/exec/builder/flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ func TestFlags_ToSlice(t *testing.T) {
func TestFlags_NonStringKeys(t *testing.T) {
flags := Flags{}
err := yaml.Unmarshal([]byte(`
yes: ""
true:
nil:
1.0:
1: ""
yes: ["y", "true"]
true: ["y", "yes"]
nil: ["no", "nah"]
1.0: ["true", "yes"]
1: ["yes"]
`), &flags)
assert.NoError(t, err)
assert.Equal(t, 5, len(flags))
Expand Down

0 comments on commit 06cc2e8

Please sign in to comment.