remove str from (#3500)

This commit is contained in:
Darren Schroeder
2021-05-27 12:18:02 -05:00
committed by GitHub
parent bcdf74562b
commit 48171f8e24
9 changed files with 18 additions and 295 deletions

View File

@ -9,7 +9,7 @@ fn reduce_table_column() {
| from json
| get total
| reduce -f 20 { $it + (math eval $"($acc)^1.05")}
| str from -d 1
| into string -d 1
"#
)
);
@ -25,7 +25,7 @@ fn reduce_table_column_with_path() {
echo "[{month:2,total:30}, {month:3,total:10}, {month:4,total:3}, {month:5,total:60}]"
| from json
| reduce -f 20 { $it.total + (math eval $"($acc)^1.05")}
| str from -d 1
| into string -d 1
"#
)
);