bumped coverage

This commit is contained in:
quobix
2024-08-04 21:47:47 -04:00
parent 6be80a5d07
commit d09ad8e050

View File

@@ -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)
}