mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-06 18:24:57 +08:00
Adding more tests to prevent regression again :sweat
This commit is contained in:
@@ -5,6 +5,12 @@ import (
|
||||
)
|
||||
|
||||
var selectOperatorScenarios = []expressionScenario{
|
||||
{
|
||||
skipDoc: true,
|
||||
document: `cat: pants`,
|
||||
expression: `select(.nope) | key + " why though?"`,
|
||||
expected: []string{},
|
||||
},
|
||||
{
|
||||
skipDoc: true,
|
||||
document: `cat`,
|
||||
|
||||
Reference in New Issue
Block a user