From 7cc00968088eb2cfbf1d28cb2aede91e5af4183c Mon Sep 17 00:00:00 2001 From: Andrej Kolchin Date: Wed, 24 Jul 2024 13:06:27 +0300 Subject: [PATCH] Test fixes --- crates/nu-command/src/strings/base/base32hex.rs | 2 +- crates/nu-command/src/strings/base/base64.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-command/src/strings/base/base32hex.rs b/crates/nu-command/src/strings/base/base32hex.rs index 0ec77f8c4a..89fbd57a3a 100644 --- a/crates/nu-command/src/strings/base/base32hex.rs +++ b/crates/nu-command/src/strings/base/base32hex.rs @@ -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")), }, ] diff --git a/crates/nu-command/src/strings/base/base64.rs b/crates/nu-command/src/strings/base/base64.rs index 1b6f55580e..c859c64fcc 100644 --- a/crates/nu-command/src/strings/base/base64.rs +++ b/crates/nu-command/src/strings/base/base64.rs @@ -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",