on master help sign in
add show_all_tabstops_long integration test
commit67124f851347e01589dc249b97881c1533719265 authorPatrick Hilhorst <git@hilhorst.be> dateSun 23 Jan 2022, 12:35 (5 years ago) parent16f940c
1 file changed+23
tests/integration_tests.rs+23
tests/integration_tests.rs+23
@@ -1240,6 +1240,29 @@ fn show_all_tabstops() {
12401240 );
12411241}
12421242
1243+#[test]
1244+fn show_all_tabstops_long() {
1245+ bat()
1246+ .arg("tabs.txt")
1247+ .arg("--show-all")
1248+ .arg("--tabs=8")
1249+ .arg("--style=plain")
1250+ .assert()
1251+ .success()
1252+ .stdout(
1253+ "├──────┤1├────┤2├──┤3├┤4␊
1254+1├─────┤?␊
1255+22├────┤?␊
1256+333├───┤?␊
1257+4444├──┤?␊
1258+55555├─┤?␊
1259+666666├┤?␊
1260+7777777↹?␊
1261+88888888├──────┤?␊
1262+",
1263+ );
1264+}
1265+
12431266#[test]
12441267fn no_paging_arg() {
12451268 bat()