diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index 6528ad99..f7ed65a9 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -1217,6 +1217,29 @@ fn show_all_mode() { .stderr(""); } +#[test] +fn show_all_tabstops() { + bat() + .arg("tabs.txt") + .arg("--show-all") + .arg("--tabs=4") + .arg("--style=plain") + .assert() + .success() + .stdout( + "├──┤1├┤2├──┤3├┤4␊ +1├─┤?␊ +22├┤?␊ +333↹?␊ +4444├──┤?␊ +55555├─┤?␊ +666666├┤?␊ +7777777↹?␊ +88888888├──┤?␊ +", + ); +} + #[test] fn no_paging_arg() { bat()