Skip to content

Commit

Permalink
fix failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
grount authored and Daniel Gront committed Feb 22, 2021
1 parent 46deeac commit 6990c03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion koanf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ func TestRaw_YamlTypes(t *testing.T) {
"error loading file")
raw := k.Raw()

i, ok := raw["ints"]
i, ok := raw["intbools"]
assert.True(ok, "ints key does not exist in the map")

arr, ok := i.([]interface{})
Expand Down
1 change: 0 additions & 1 deletion mock/mock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,3 @@ strbools:
strbool: "1"
time: "2019-01-01"
duration: "3s"
ints: [1,2,3]

0 comments on commit 6990c03

Please sign in to comment.