mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-12 07:58:52 +00:00
Avoid empty line in snapshot
This commit is contained in:
parent
01984e1d02
commit
76e34b29ec
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
1 2 3 4
|
1 2 3 4
|
||||||
1 ?
|
1 ?
|
||||||
22 ?
|
22 ?
|
||||||
|
@ -105,17 +105,15 @@ fn tabs_numbers() {
|
|||||||
.arg("--decorations=always")
|
.arg("--decorations=always")
|
||||||
.assert()
|
.assert()
|
||||||
.success()
|
.success()
|
||||||
.stdout("
|
.stdout(" 1 1 2 3 4
|
||||||
1
|
2 1 ?
|
||||||
2 1 2 3 4
|
3 22 ?
|
||||||
3 1 ?
|
4 333 ?
|
||||||
4 22 ?
|
5 4444 ?
|
||||||
5 333 ?
|
6 55555 ?
|
||||||
6 4444 ?
|
7 666666 ?
|
||||||
7 55555 ?
|
8 7777777 ?
|
||||||
8 666666 ?
|
9 88888888 ?
|
||||||
9 7777777 ?
|
|
||||||
10 88888888 ?
|
|
||||||
");
|
");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -128,8 +126,7 @@ fn tabs_passthrough_wrapped() {
|
|||||||
.arg("--decorations=always")
|
.arg("--decorations=always")
|
||||||
.assert()
|
.assert()
|
||||||
.success()
|
.success()
|
||||||
.stdout("
|
.stdout(" 1 2 3 4
|
||||||
1 2 3 4
|
|
||||||
1 ?
|
1 ?
|
||||||
22 ?
|
22 ?
|
||||||
333 ?
|
333 ?
|
||||||
@ -150,8 +147,7 @@ fn tabs_4_wrapped() {
|
|||||||
.arg("--decorations=always")
|
.arg("--decorations=always")
|
||||||
.assert()
|
.assert()
|
||||||
.success()
|
.success()
|
||||||
.stdout("
|
.stdout(" 1 2 3 4
|
||||||
1 2 3 4
|
|
||||||
1 ?
|
1 ?
|
||||||
22 ?
|
22 ?
|
||||||
333 ?
|
333 ?
|
||||||
@ -172,8 +168,7 @@ fn tabs_8_wrapped() {
|
|||||||
.arg("--decorations=always")
|
.arg("--decorations=always")
|
||||||
.assert()
|
.assert()
|
||||||
.success()
|
.success()
|
||||||
.stdout("
|
.stdout(" 1 2 3 4
|
||||||
1 2 3 4
|
|
||||||
1 ?
|
1 ?
|
||||||
22 ?
|
22 ?
|
||||||
333 ?
|
333 ?
|
||||||
@ -194,8 +189,7 @@ fn tabs_passthrough() {
|
|||||||
.arg("--decorations=always")
|
.arg("--decorations=always")
|
||||||
.assert()
|
.assert()
|
||||||
.success()
|
.success()
|
||||||
.stdout("
|
.stdout(" 1 2 3 4
|
||||||
1 2 3 4
|
|
||||||
1 ?
|
1 ?
|
||||||
22 ?
|
22 ?
|
||||||
333 ?
|
333 ?
|
||||||
@ -216,8 +210,7 @@ fn tabs_4() {
|
|||||||
.arg("--decorations=always")
|
.arg("--decorations=always")
|
||||||
.assert()
|
.assert()
|
||||||
.success()
|
.success()
|
||||||
.stdout("
|
.stdout(" 1 2 3 4
|
||||||
1 2 3 4
|
|
||||||
1 ?
|
1 ?
|
||||||
22 ?
|
22 ?
|
||||||
333 ?
|
333 ?
|
||||||
@ -238,8 +231,7 @@ fn tabs_8() {
|
|||||||
.arg("--decorations=always")
|
.arg("--decorations=always")
|
||||||
.assert()
|
.assert()
|
||||||
.success()
|
.success()
|
||||||
.stdout("
|
.stdout(" 1 2 3 4
|
||||||
1 2 3 4
|
|
||||||
1 ?
|
1 ?
|
||||||
22 ?
|
22 ?
|
||||||
333 ?
|
333 ?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user