Skip to content

Commit 435e2b8

Browse files
committed
Attempt to fix integration test
1 parent 8c4cb9f commit 435e2b8

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

tests/integration_tests.rs

+11-13
Original file line numberDiff line numberDiff line change
@@ -1391,16 +1391,15 @@ fn header_narrow_terminal() {
13911391
.success()
13921392
.stdout(
13931393
"\
1394-
───────┬──────────────────────
1395-
│ File: this-file-path-
1396-
│ is-really-long-and-wo
1397-
│ uld-have-broken-the-l
1398-
│ ayout-of-the-header.t
1399-
│ xt
1400-
───────┼──────────────────────
1401-
1 │ The header is not bro
1402-
│ ken
1403-
───────┴──────────────────────
1394+
─────┬────────────────────────
1395+
│ File: this-file-path-is
1396+
│ -really-long-and-would-
1397+
│ have-broken-the-layout-
1398+
│ of-the-header.txt
1399+
─────┼────────────────────────
1400+
1 │ The header is not broke
1401+
│ n
1402+
─────┴────────────────────────
14041403
",
14051404
)
14061405
.stderr("");
@@ -1410,6 +1409,7 @@ fn header_narrow_terminal() {
14101409
fn header_very_narrow_terminal() {
14111410
bat()
14121411
.arg("--terminal-width=10")
1412+
.arg("--wrap=never")
14131413
.arg("--decorations=always")
14141414
.arg("this-file-path-is-really-long-and-would-have-broken-the-layout-of-the-header.txt")
14151415
.assert()
@@ -1427,9 +1427,7 @@ e-layout-o
14271427
f-the-head
14281428
er.txt
14291429
──────────
1430-
The header
1431-
is not br
1432-
oken
1430+
The header is not broken
14331431
──────────
14341432
",
14351433
)

0 commit comments

Comments
 (0)