nushell/crates/nu-plugin-test-support/tests
Devyn Cairns 70520000d2
Use nu-cmd-lang default context for plugin tests (#12434)
# Description
@ayax79 added `nu-cmd-lang` as a dep for `nu-plugin-test-support` in
order to get access to `let`. Since we have the dep anyway now, we might
as well just add all of the lang commands - there aren't very many of
them and it would be less confusing than only `let` working.

# User-Facing Changes
- Can use some more core nu language features in plugin tests, like
loops and `do`

# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`

# After Submitting
- [ ] Might need to change something about the plugin testing section of
the book, since I think it says something about there only being the
plugin command itself available
2024-04-06 23:28:08 +00:00
..
custom_value Make drop notification timing for plugin custom values more consistent (#12341) 2024-04-04 09:13:25 +02:00
hello Use nu-cmd-lang default context for plugin tests (#12434) 2024-04-06 23:28:08 +00:00
lowercase Change PluginCommand API to be more like Command (#12279) 2024-03-27 11:59:57 +01:00
main.rs Add test support crate for plugin developers (#12259) 2024-03-23 13:29:54 -05:00