File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -100,18 +100,16 @@ mod tests {
100
100
101
101
#[ test]
102
102
fn test_no_copy_target ( ) -> Result < ( ) , Error > {
103
- use log:: debug;
104
- env_logger:: init ( ) ;
105
-
106
- debug ! ( "debugging works" ) ;
107
103
let ( src, dest) = ( tempfile:: tempdir ( ) ?, tempfile:: tempdir ( ) ?) ;
108
- debug ! ( "made root dirs" ) ;
109
104
std:: fs:: create_dir ( src. path ( ) . join ( "target" ) ) ?;
110
- std:: fs:: write ( src. path ( ) . join ( "target" ) . join ( "a.out" ) , b"this is not actually an ELF file" ) ?;
111
- debug ! ( "made subdirs and files" ) ;
105
+ std:: fs:: write (
106
+ src. path ( ) . join ( "target" ) . join ( "a.out" ) ,
107
+ b"this is not actually an ELF file" ,
108
+ ) ?;
109
+ println ! ( "made subdirs and files" ) ;
112
110
113
111
super :: copy_dir ( src. path ( ) , dest. path ( ) ) ?;
114
- debug ! ( "copied" ) ;
112
+ println ! ( "copied" ) ;
115
113
116
114
assert ! ( !dest. path( ) . join( "target" ) . exists( ) ) ;
117
115
You can’t perform that action at this time.
0 commit comments