mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-24 23:35:40 +00:00
Added extra parseSnippet test
This commit is contained in:
parent
5e490527de
commit
ed551bf339
@ -27,6 +27,16 @@ var parseSnippetScenarios = []parseSnippetScenario{
|
|||||||
Tag: "!!null",
|
Tag: "!!null",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
snippet: "null",
|
||||||
|
expected: &yaml.Node{
|
||||||
|
Kind: yaml.ScalarNode,
|
||||||
|
Tag: "!!null",
|
||||||
|
Value: "null",
|
||||||
|
Line: 1,
|
||||||
|
Column: 1,
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
snippet: "3",
|
snippet: "3",
|
||||||
expected: &yaml.Node{
|
expected: &yaml.Node{
|
||||||
|
Loading…
Reference in New Issue
Block a user