test(bundles): skip uninstall ambiguity test when stdout is a TTY

The non-interactive bail under test only triggers without a TTY; from a
terminal the code correctly opens the interactive selector instead, so
the test hung or failed depending on input. Same guard as the three
sibling non-interactive tests.
This commit is contained in:
2026-08-25 11:37:41 -06:00
parent a5a3eed6d8
commit 40846de37a
+6
View File
@@ -4286,6 +4286,12 @@ mod tests {
#[test]
#[serial]
fn uninstall_shorthand_with_multiple_matches_bails_non_interactively() {
if *IS_STDOUT_TERMINAL {
eprintln!(
"Skipping uninstall_shorthand_with_multiple_matches_bails_non_interactively: requires non-TTY stdout"
);
return;
}
let _guard = TestVaultConfigGuard::new("uninst-short-multi");
let mut store = BundleStore::load().unwrap();
store