mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 12:37:49 +00:00
another tiny cov bumpy
This commit is contained in:
@@ -676,6 +676,7 @@ func TestIsYAML(t *testing.T) {
|
|||||||
assert.False(t, IsYAML("{'hello':'there'}"))
|
assert.False(t, IsYAML("{'hello':'there'}"))
|
||||||
assert.False(t, IsYAML(""))
|
assert.False(t, IsYAML(""))
|
||||||
assert.True(t, IsYAML("8908: hello: yeah: \n12309812: :123"))
|
assert.True(t, IsYAML("8908: hello: yeah: \n12309812: :123"))
|
||||||
|
assert.True(t, IsYAML("---"))
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestConvertYAMLtoJSON(t *testing.T) {
|
func TestConvertYAMLtoJSON(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user