mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 12:37:49 +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)
|
||||
}
|
||||
|
||||
func TestCreateEmptyScalarNode(t *testing.T) {
|
||||
s := CreateEmptyScalarNode()
|
||||
assert.Equal(t, "!!null", s.Tag)
|
||||
assert.Equal(t, "", s.Value)
|
||||
}
|
||||
|
||||
func TestCreateFloatNode(t *testing.T) {
|
||||
f := CreateFloatNode("3.14")
|
||||
assert.Equal(t, "!!float", f.Tag)
|
||||
|
||||
Reference in New Issue
Block a user