File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -607,7 +607,10 @@ fn creates_binary_when_instructed_and_has_lib_file_no_warning() {
607607 cargo_process ( "init --bin" )
608608 . cwd ( & path)
609609 . with_stderr (
610- "[WARNING] file 'foo.rs' seems to be a library file\n [CREATED] binary (application) package"
610+ "\
611+ [WARNING] file 'foo.rs' seems to be a library file
612+ [CREATED] binary (application) package
613+ " ,
611614 )
612615 . run ( ) ;
613616
@@ -624,7 +627,10 @@ fn creates_library_when_instructed_and_has_bin_file() {
624627 cargo_process ( "init --lib" )
625628 . cwd ( & path)
626629 . with_stderr (
627- "[WARNING] file 'foo.rs' seems to be a binary (application) file\n [CREATED] library package"
630+ "\
631+ [WARNING] file 'foo.rs' seems to be a binary (application) file
632+ [CREATED] library package
633+ " ,
628634 )
629635 . run ( ) ;
630636
You can’t perform that action at this time.
0 commit comments