Added extra parseSnippet test

This commit is contained in:
Mike Farah 2022-11-01 09:15:59 +11:00
parent 5e490527de
commit ed551bf339

View File

@ -27,6 +27,16 @@ var parseSnippetScenarios = []parseSnippetScenario{
Tag: "!!null",
},
},
{
snippet: "null",
expected: &yaml.Node{
Kind: yaml.ScalarNode,
Tag: "!!null",
Value: "null",
Line: 1,
Column: 1,
},
},
{
snippet: "3",
expected: &yaml.Node{