From 064e15627186290551dcaba9f7158251afd76e6f Mon Sep 17 00:00:00 2001 From: lalvarezt Date: Tue, 22 Jul 2025 12:48:24 +0200 Subject: [PATCH] fix(test): tv init should run with the development config, to properly parse keybindings --- tests/subcommands.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/subcommands.rs b/tests/subcommands.rs index 8744f16..53b8662 100644 --- a/tests/subcommands.rs +++ b/tests/subcommands.rs @@ -70,7 +70,8 @@ fn tv_list_channels() { /// This simply tests that the command exits successfully. fn tv_init_zsh() { 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); }