on master help sign in
Avoid empty line in snapshot
76e34b2Lawrence Chou
tests/examples/tabs.txt−1
@@ -1,4 +1,3 @@
1−
2 1 2 3 4
1 1 2 3 4
31 ?
21 ?
422 ?
322 ?
tests/integration_tests.rs+15−23
@@ -105,17 +105,15 @@ fn tabs_numbers() {
105 .arg("--decorations=always")
105 .arg("--decorations=always")
106 .assert()
106 .assert()
107 .success()
107 .success()
108− .stdout("
108+ .stdout(" 1 1 2 3 4
109− 1
110− 2 1 2 3 4
111− 3 1 ?
109+ 2 1 ?
112− 4 22 ?
110+ 3 22 ?
113− 5 333 ?
111+ 4 333 ?
114− 6 4444 ?
112+ 5 4444 ?
115− 7 55555 ?
113+ 6 55555 ?
116− 8 666666 ?
114+ 7 666666 ?
117− 9 7777777 ?
115+ 8 7777777 ?
118− 10 88888888 ?
116+ 9 88888888 ?
119");
117");
120}
118}
121
119
@@ -128,8 +126,7 @@ fn tabs_passthrough_wrapped() {
128 .arg("--decorations=always")
126 .arg("--decorations=always")
129 .assert()
127 .assert()
130 .success()
128 .success()
131− .stdout("
129+ .stdout(" 1 2 3 4
132− 1 2 3 4
1331 ?
1301 ?
13422 ?
13122 ?
135333 ?
132333 ?
@@ -150,8 +147,7 @@ fn tabs_4_wrapped() {
150 .arg("--decorations=always")
147 .arg("--decorations=always")
151 .assert()
148 .assert()
152 .success()
149 .success()
153− .stdout("
150+ .stdout(" 1 2 3 4
154− 1 2 3 4
1551 ?
1511 ?
15622 ?
15222 ?
157333 ?
153333 ?
@@ -172,8 +168,7 @@ fn tabs_8_wrapped() {
172 .arg("--decorations=always")
168 .arg("--decorations=always")
173 .assert()
169 .assert()
174 .success()
170 .success()
175− .stdout("
171+ .stdout(" 1 2 3 4
176− 1 2 3 4
1771 ?
1721 ?
17822 ?
17322 ?
179333 ?
174333 ?
@@ -194,8 +189,7 @@ fn tabs_passthrough() {
194 .arg("--decorations=always")
189 .arg("--decorations=always")
195 .assert()
190 .assert()
196 .success()
191 .success()
197− .stdout("
192+ .stdout(" 1 2 3 4
198− 1 2 3 4
1991 ?
1931 ?
20022 ?
19422 ?
201333 ?
195333 ?
@@ -216,8 +210,7 @@ fn tabs_4() {
216 .arg("--decorations=always")
210 .arg("--decorations=always")
217 .assert()
211 .assert()
218 .success()
212 .success()
219− .stdout("
213+ .stdout(" 1 2 3 4
220− 1 2 3 4
2211 ?
2141 ?
22222 ?
21522 ?
223333 ?
216333 ?
@@ -238,8 +231,7 @@ fn tabs_8() {
238 .arg("--decorations=always")
231 .arg("--decorations=always")
239 .assert()
232 .assert()
240 .success()
233 .success()
241− .stdout("
234+ .stdout(" 1 2 3 4
242− 1 2 3 4
2431 ?
2351 ?
24422 ?
23622 ?
245333 ?
237333 ?