From 67124f851347e01589dc249b97881c1533719265 Mon Sep 17 00:00:00 2001 From: Patrick Hilhorst Date: Sun, 23 Jan 2022 12:35:05 +0100 Subject: [PATCH] add show_all_tabstops_long integration test --- tests/integration_tests.rs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index f7ed65a9..948ec457 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -1240,6 +1240,29 @@ fn show_all_tabstops() { ); } +#[test] +fn show_all_tabstops_long() { + bat() + .arg("tabs.txt") + .arg("--show-all") + .arg("--tabs=8") + .arg("--style=plain") + .assert() + .success() + .stdout( + "├──────┤1├────┤2├──┤3├┤4␊ +1├─────┤?␊ +22├────┤?␊ +333├───┤?␊ +4444├──┤?␊ +55555├─┤?␊ +666666├┤?␊ +7777777↹?␊ +88888888├──────┤?␊ +", + ); +} + #[test] fn no_paging_arg() { bat()