mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 10:36:00 +02:00
Fix keybindings list
being empty by default (#13456)
# Description Made a mistake when fixing this for IR. The default behavior with no options set is to list everything. Restored that. This should go in the 0.96.1 patch release. # Tests + Formatting Added regression test.
This commit is contained in:
7
crates/nu-cli/tests/commands/keybindings_list.rs
Normal file
7
crates/nu-cli/tests/commands/keybindings_list.rs
Normal file
@ -0,0 +1,7 @@
|
||||
use nu_test_support::nu;
|
||||
|
||||
#[test]
|
||||
fn not_empty() {
|
||||
let result = nu!("keybindings list | is-not-empty");
|
||||
assert_eq!(result.out, "true");
|
||||
}
|
@ -1 +1,2 @@
|
||||
mod keybindings_list;
|
||||
mod nu_highlight;
|
||||
|
Reference in New Issue
Block a user