Test fixes

This commit is contained in:
Andrej Kolchin 2024-07-24 13:06:27 +03:00
parent fa9d61c280
commit 7cc0096808
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ impl Command for EncodeBase32Hex {
},
Example {
description: "Don't apply padding to the output",
example: r#""hello there" | encode base32hex"#,
example: r#""hello there" | encode base32hex --nopad"#,
result: Some(Value::test_string("D1IMOR3F41Q6GPBICK")),
},
]

View File

@ -137,7 +137,7 @@ impl Command for EncodeBase64 {
Example {
description: "Encode a string with Base64",
example: r#""Alphabet from A to Z" | encode base64"#,
result: Some(Value::test_string("Some Data")),
result: Some(Value::test_string("QWxwaGFiZXQgZnJvbSBBIHRvIFo=")),
},
Example {
description: "Encode arbitrary data",