File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -1382,6 +1382,7 @@ fn header_full_binary() {
1382
1382
}
1383
1383
1384
1384
#[ test]
1385
+ #[ cfg( not( feature = "git" ) ) ]
1385
1386
fn header_narrow_terminal ( ) {
1386
1387
bat ( )
1387
1388
. arg ( "--terminal-width=30" )
@@ -1391,16 +1392,15 @@ fn header_narrow_terminal() {
1391
1392
. success ( )
1392
1393
. stdout (
1393
1394
"\
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
- ───────┴──────────────────────
1395
+ ─────┬────────────────────────
1396
+ │ File: this-file-path-is
1397
+ │ -really-long-and-would-
1398
+ │ have-broken-the-layout-
1399
+ │ of-the-header.txt
1400
+ ─────┼────────────────────────
1401
+ 1 │ The header is not broke
1402
+ │ n
1403
+ ─────┴────────────────────────
1404
1404
" ,
1405
1405
)
1406
1406
. stderr ( "" ) ;
You can’t perform that action at this time.
0 commit comments