mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 18:57:44 +02:00
fix typo, update some examples and regenerate docs (#4718)
This commit is contained in:
@ -36,7 +36,7 @@ fn sets_block_run_value_for_an_empty_column() {
|
||||
[ Jason, Gedge, 10/11/2013, 1 ]
|
||||
[ Yehuda, Katz, 10/11/2013, '' ]
|
||||
]
|
||||
| empty? likes -b { 1 }
|
||||
| empty? likes -b {|_| 1 }
|
||||
| get likes
|
||||
| math sum
|
||||
"#
|
||||
|
@ -33,7 +33,7 @@ fn error_when_invalid_character_set_given() {
|
||||
let actual = nu!(
|
||||
cwd: ".", pipeline(
|
||||
r#"
|
||||
echo 'username:password' | hash base64 --character_set 'this is invalid' --encode
|
||||
echo 'username:password' | hash base64 --character-set 'this is invalid' --encode
|
||||
"#
|
||||
)
|
||||
);
|
||||
@ -50,7 +50,7 @@ fn base64_decode_characterset_binhex() {
|
||||
let actual = nu!(
|
||||
cwd: ".", pipeline(
|
||||
r#"
|
||||
echo "F@0NEPjJD97kE'&bEhFZEP3" | hash base64 --character_set binhex --decode
|
||||
echo "F@0NEPjJD97kE'&bEhFZEP3" | hash base64 --character-set binhex --decode
|
||||
"#
|
||||
)
|
||||
);
|
||||
|
Reference in New Issue
Block a user