Cleanup test

This commit is contained in:
Mike Farah
2021-12-02 20:06:51 +11:00
parent df5128fa36
commit 855b3c4b47
2 changed files with 3 additions and 24 deletions
+3 -4
View File
@@ -90,10 +90,9 @@ var encoderDecoderOperatorScenarios = []expressionScenario{
},
},
{
description: "Encode value as yaml string, using toyaml",
subdescription: "Does the same thing as to_yaml, matching jq naming convention.",
document: `{a: {cool: "thing"}}`,
expression: `.b = (.a | to_yaml)`,
skipDoc: true,
document: `{a: {cool: "thing"}}`,
expression: `.b = (.a | to_yaml)`,
expected: []string{
`D0, P[], (doc)::{a: {cool: "thing"}, b: "{cool: \"thing\"}\n"}
`,