Skip to content

Commit

Permalink
added another base64 test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikefarah committed Mar 18, 2023
1 parent 69d3e3f commit dccba10
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/yqlib/operator_encoder_decoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,14 @@ var encoderDecoderOperatorScenarios = []expressionScenario{
"D0, P[], (!!str)::cats\n",
},
},
{
description: "base64 missing padding test",
skipDoc: true,
expression: `"cats" | @base64 | @base64d`,
expected: []string{
"D0, P[], (!!str)::cats\n",
},
},
{
requiresFormat: "xml",
description: "empty xml decode",
Expand Down

0 comments on commit dccba10

Please sign in to comment.