Fixed CSV content starting with # issue #2076

This commit is contained in:
Mike Farah
2024-06-29 15:04:07 +10:00
parent 7e1722510a
commit 0b7d4b799c
4 changed files with 36 additions and 2 deletions
+10
View File
@@ -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{