rename update to upsert to mirror what it really does (#4859)

* rename `update` to `upsert` to mirror what it really does

* change to latest reedline and nu-ansi-term
This commit is contained in:
Darren Schroeder
2022-03-16 19:13:34 -05:00
committed by GitHub
parent ca12f39db3
commit 6700fbeed7
14 changed files with 46 additions and 53 deletions

View File

@ -36,7 +36,7 @@ fn zips_two_tables() {
[ jt, 20]
]);
let actual = ($contributors | update commits {{ |i| ($i.commits + 10) }});
let actual = ($contributors | upsert commits {{ |i| ($i.commits + 10) }});
expect $actual --to-eq [[name, commits]; [andres, 20] [jt, 30]]
"#,