File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ macro_rules! test {
81
81
82
82
eprintln!( "path: {}" , out_file. to_str( ) . unwrap( ) ) ;
83
83
success &= Command :: new( "git" )
84
- . args( & [ "diff" , out_file. to_str( ) . unwrap( ) ] )
84
+ . args( & [ "diff" , "--exit-code" , out_file. to_str( ) . unwrap( ) ] )
85
85
. env( "PAGER" , "" )
86
86
. status( )
87
87
. expect( "could not run git diff" )
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ macro_rules! full_test {
77
77
78
78
eprintln!( "path: {}" , out_file) ;
79
79
success &= Command :: new( "git" )
80
- . args( & [ "diff" , out_file] )
80
+ . args( & [ "diff" , "--exit-code" , out_file] )
81
81
. env( "PAGER" , "" )
82
82
. status( )
83
83
. expect( "could not run git diff" )
Original file line number Diff line number Diff line change
1
+ #[ allow( unused_extern_crates) ]
1
2
extern crate old;
3
+ #[ allow( unused_extern_crates) ]
2
4
extern crate new;
You can’t perform that action at this time.
0 commit comments