Adding more tests to prevent regression again :sweat

This commit is contained in:
Mike Farah
2025-05-09 15:40:29 +10:00
parent 0a83da6b38
commit 20407a07a5
3 changed files with 20 additions and 0 deletions
+6
View File
@@ -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`,