diff --git a/utils/utils_test.go b/utils/utils_test.go index ce98dc3..de315fc 100644 --- a/utils/utils_test.go +++ b/utils/utils_test.go @@ -676,6 +676,7 @@ func TestIsYAML(t *testing.T) { assert.False(t, IsYAML("{'hello':'there'}")) assert.False(t, IsYAML("")) assert.True(t, IsYAML("8908: hello: yeah: \n12309812: :123")) + assert.True(t, IsYAML("---")) } func TestConvertYAMLtoJSON(t *testing.T) {