mirror of
https://github.com/nushell/nushell.git
synced 2025-08-15 05:12:32 +02:00
Convert sum command into subcommand of the math command (#2004)
* Convert sum command into subcommand of the math command * Add bullet points to math.md documentation
This commit is contained in:
@ -5,7 +5,7 @@ fn each_works_separately() {
|
||||
let actual = nu!(
|
||||
cwd: "tests/fixtures/formats", pipeline(
|
||||
r#"
|
||||
echo [1 2 3] | each { echo $it 10 | sum } | to json | echo $it
|
||||
echo [1 2 3] | each { echo $it 10 | math sum } | to json | echo $it
|
||||
"#
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user