on master help sign in
add show_all_tabstops integration test
commit16f940c2d32493ca2c2a98626150c22f73567a14 authorPatrick Hilhorst <git@hilhorst.be> dateSun 23 Jan 2022, 12:27 (5 years ago) parentda5921b
1 file changed+23
tests/integration_tests.rs+23
tests/integration_tests.rs+23
@@ -1217,6 +1217,29 @@ fn show_all_mode() {
12171217 .stderr("");
12181218}
12191219
1220+#[test]
1221+fn show_all_tabstops() {
1222+ bat()
1223+ .arg("tabs.txt")
1224+ .arg("--show-all")
1225+ .arg("--tabs=4")
1226+ .arg("--style=plain")
1227+ .assert()
1228+ .success()
1229+ .stdout(
1230+ "├──┤1├┤2├──┤3├┤4␊
1231+1├─┤?␊
1232+22├┤?␊
1233+333↹?␊
1234+4444├──┤?␊
1235+55555├─┤?␊
1236+666666├┤?␊
1237+7777777↹?␊
1238+88888888├──┤?␊
1239+",
1240+ );
1241+}
1242+
12201243#[test]
12211244fn no_paging_arg() {
12221245 bat()