mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-06 18:24:57 +08:00
XML Decoder: Comment parsing tweak
This commit is contained in:
@@ -246,8 +246,8 @@ var xmlScenarios = []formatScenario{
|
||||
},
|
||||
{
|
||||
skipDoc: true,
|
||||
input: "<root> <!-- comment-->value</root>",
|
||||
expected: "\n# comment\nroot: value\n", //needs fix
|
||||
input: "<root><!-- comment-->value</root>",
|
||||
expected: "# comment\nroot: value\n",
|
||||
},
|
||||
{
|
||||
skipDoc: true,
|
||||
|
||||
Reference in New Issue
Block a user