diff --git a/pkg/yqlib/xml_test.go b/pkg/yqlib/xml_test.go index 042cf244..3a97d11d 100644 --- a/pkg/yqlib/xml_test.go +++ b/pkg/yqlib/xml_test.go @@ -259,6 +259,11 @@ var xmlScenarios = []formatScenario{ input: "valueanotherValue ", expected: "root:\n # comment\n - value\n - anotherValue\n", }, + { + skipDoc: true, + input: "quicksoftsquishy", + expected: "root:\n cats:\n cat:\n - quick\n - soft\n # kitty_comment\n - squishy\n", + }, { description: "Parse xml: simple", subdescription: "Notice how all the values are strings, see the next example on how you can fix that.",