nushell/crates/nu-std/tests
Tyarel 6193679dfc
Fix kv set with a closure argument (#15588)
<!--
if this PR closes one or more issues, you can automatically link the PR
with
them by using one of the [*linking
keywords*](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword),
e.g.
- this PR should close #xxxx
- fixes #xxxx

you can also mention related issues, PRs or discussions!
-->
Fixes #15528 
# Description
Fixed `kv set` passing the pipeline input to the closure instead of the
value stored in that key.

# User-Facing Changes
Now `kv set` will pass the value in that key to the closure.

# Tests + Formatting


# After Submitting
2025-04-22 22:30:38 +08:00
..
logger_tests Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00
test_asserts.nu Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00
test_dirs.nu feat(std/dirs): retain state in subshells or with exec-restarts (#15080) 2025-02-11 19:51:43 -05:00
test_dt.nu try to fix datetime-diff for ms, us, ns (#15537) 2025-04-10 06:52:11 -05:00
test_formats.nu Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00
test_help.nu Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00
test_iter.nu Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00
test_prelude.nu Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00
test_setup_teardown.nu Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00
test_std_formats.nu Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00
test_std_postload.nu Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00
test_std_preload.nu Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00
test_std_util.nu Fix path add bug when given a record (#15379) 2025-03-22 08:42:20 -04:00
test_std-rfc_conversions.nu Update std-rfc tests for to use @test attributes (#15098) 2025-02-12 06:48:41 -05:00
test_std-rfc_kv.nu Fix kv set with a closure argument (#15588) 2025-04-22 22:30:38 +08:00
test_std-rfc_path.nu Update std-rfc tests for to use @test attributes (#15098) 2025-02-12 06:48:41 -05:00
test_std-rfc_str.nu Update std-rfc tests for to use @test attributes (#15098) 2025-02-12 06:48:41 -05:00
test_std-rfc_tables.nu Update std-rfc tests for to use @test attributes (#15098) 2025-02-12 06:48:41 -05:00
test_util.nu Fix path add bug when given a record (#15379) 2025-03-22 08:42:20 -04:00
test_xml.nu Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00