Added NodeMap to all low level objects.

this sync map tracks all the nodes that apply to this object.
This commit is contained in:
quobix
2024-08-04 11:01:23 -04:00
parent 31ed123abd
commit 70f406b6cf
46 changed files with 712 additions and 44 deletions

View File

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