mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-07 02:48:27 +08:00
Fixed CSV content starting with # issue #2076
This commit is contained in:
@@ -62,6 +62,16 @@ var parseSnippetScenarios = []parseSnippetScenario{
|
||||
Column: 0,
|
||||
},
|
||||
},
|
||||
{
|
||||
snippet: "# things",
|
||||
expected: &CandidateNode{
|
||||
Kind: ScalarNode,
|
||||
Tag: "!!null",
|
||||
LineComment: "# things",
|
||||
Line: 0,
|
||||
Column: 0,
|
||||
},
|
||||
},
|
||||
{
|
||||
snippet: "3.1",
|
||||
expected: &CandidateNode{
|
||||
|
||||
Reference in New Issue
Block a user