File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1382,6 +1382,7 @@ fn header_full_binary() {
13821382}
13831383
13841384#[ test]
1385+ #[ cfg( not( feature = "git" ) ) ]
13851386fn header_narrow_terminal ( ) {
13861387 bat ( )
13871388 . arg ( "--terminal-width=30" )
@@ -1391,16 +1392,15 @@ fn header_narrow_terminal() {
13911392 . success ( )
13921393 . stdout (
13931394 "\
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+ ─────┴────────────────────────
14041404" ,
14051405 )
14061406 . stderr ( "" ) ;
You can’t perform that action at this time.
0 commit comments