mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-07 20:47:45 +00:00
Added NodeMap to all low level objects.
this sync map tracks all the nodes that apply to this object.
This commit is contained in:
@@ -672,10 +672,10 @@ func TestIsJSON(t *testing.T) {
|
||||
|
||||
func TestIsYAML(t *testing.T) {
|
||||
assert.True(t, IsYAML("hello:\n there:\n my-name: is quobix"))
|
||||
assert.True(t, IsYAML("potato shoes"))
|
||||
assert.False(t, IsYAML("potato shoes"))
|
||||
assert.False(t, IsYAML("{'hello':'there'}"))
|
||||
assert.False(t, IsYAML(""))
|
||||
assert.False(t, IsYAML("8908: hello: yeah: \n12309812: :123"))
|
||||
assert.True(t, IsYAML("8908: hello: yeah: \n12309812: :123"))
|
||||
}
|
||||
|
||||
func TestConvertYAMLtoJSON(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user