mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-31 10:11:07 +00:00
add show_all_tabstops integration test
This commit is contained in:
parent
da5921b4a9
commit
16f940c2d3
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user