File tree 1 file changed +11
-13
lines changed
1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -1391,16 +1391,15 @@ fn header_narrow_terminal() {
1391
1391
. success ( )
1392
1392
. stdout (
1393
1393
"\
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
+ ─────┴────────────────────────
1404
1403
" ,
1405
1404
)
1406
1405
. stderr ( "" ) ;
@@ -1410,6 +1409,7 @@ fn header_narrow_terminal() {
1410
1409
fn header_very_narrow_terminal ( ) {
1411
1410
bat ( )
1412
1411
. arg ( "--terminal-width=10" )
1412
+ . arg ( "--wrap=never" )
1413
1413
. arg ( "--decorations=always" )
1414
1414
. arg ( "this-file-path-is-really-long-and-would-have-broken-the-layout-of-the-header.txt" )
1415
1415
. assert ( )
@@ -1427,9 +1427,7 @@ e-layout-o
1427
1427
f-the-head
1428
1428
er.txt
1429
1429
──────────
1430
- The header
1431
- is not br
1432
- oken
1430
+ The header is not broken
1433
1431
──────────
1434
1432
" ,
1435
1433
)
You can’t perform that action at this time.
0 commit comments