mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 04:20:11 +00:00
bumped coverage
This commit is contained in:
@@ -185,11 +185,16 @@ description: cakes`
|
||||
assert.False(t, f)
|
||||
assert.Nil(t, n)
|
||||
|
||||
sch.Nodes.Store(3, &yaml.Node{Value: "cake"})
|
||||
sch.AddNode(3, &yaml.Node{Value: "3"})
|
||||
s := sch.Schema()
|
||||
sch.AddNode(4, &yaml.Node{Value: "4"})
|
||||
|
||||
n, f = s.Nodes.Load(3)
|
||||
assert.True(t, f)
|
||||
assert.NotNil(t, n)
|
||||
|
||||
n, f = s.Nodes.Load(4)
|
||||
assert.True(t, f)
|
||||
assert.NotNil(t, n)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user