forked from extern/nushell
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:
@ -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]]
|
||||
"#,
|
||||
|
Reference in New Issue
Block a user