mirror of
https://github.com/alexpasmantier/television.git
synced 2025-07-29 14:21:43 +00:00
fix(test): tv init should run with the development config, to properly parse keybindings
This commit is contained in:
parent
b8be7a94d8
commit
064e156271
@ -70,7 +70,8 @@ fn tv_list_channels() {
|
|||||||
/// This simply tests that the command exits successfully.
|
/// This simply tests that the command exits successfully.
|
||||||
fn tv_init_zsh() {
|
fn tv_init_zsh() {
|
||||||
let mut tester = PtyTester::new();
|
let mut tester = PtyTester::new();
|
||||||
let mut child = tester.spawn_command(tv_with_args(&["init", "zsh"]));
|
let mut child = tester
|
||||||
|
.spawn_command(tv_local_config_and_cable_with_args(&["init", "zsh"]));
|
||||||
|
|
||||||
PtyTester::assert_exit_ok(&mut child, DEFAULT_DELAY);
|
PtyTester::assert_exit_ok(&mut child, DEFAULT_DELAY);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user