Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
daveshanley committed Jul 9, 2024
1 parent de8f52b commit 09e7bf1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions utils/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1036,10 +1036,9 @@ x-b:
_ = yaml.Unmarshal(yml, &rootNode)

k, l, v := FindKeyNodeFull("servers", rootNode.Content[0].Content)
assert.NotNil(t, k)
assert.NotNil(t, v)
assert.NotNil(t, l)
assert.Equal(t, "true", v.Value)
assert.Nil(t, k)
assert.Nil(t, v)
assert.Nil(t, l)

}

Expand Down

0 comments on commit 09e7bf1

Please sign in to comment.