mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
chore: codecov (more)
This commit is contained in:
@@ -27,6 +27,12 @@ func TestCreateEmptySequenceNode(t *testing.T) {
|
|||||||
assert.Len(t, s.Content, 0)
|
assert.Len(t, s.Content, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestCreateEmptyScalarNode(t *testing.T) {
|
||||||
|
s := CreateEmptyScalarNode()
|
||||||
|
assert.Equal(t, "!!null", s.Tag)
|
||||||
|
assert.Equal(t, "", s.Value)
|
||||||
|
}
|
||||||
|
|
||||||
func TestCreateFloatNode(t *testing.T) {
|
func TestCreateFloatNode(t *testing.T) {
|
||||||
f := CreateFloatNode("3.14")
|
f := CreateFloatNode("3.14")
|
||||||
assert.Equal(t, "!!float", f.Tag)
|
assert.Equal(t, "!!float", f.Tag)
|
||||||
|
|||||||
Reference in New Issue
Block a user