File tree 1 file changed +2
-15
lines changed 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -1046,7 +1046,7 @@ fn members_include_path_deps() {
1046
1046
}
1047
1047
1048
1048
#[ cargo_test]
1049
- fn new_warns_you_this_will_not_work ( ) {
1049
+ fn new_creates_members_list ( ) {
1050
1050
let p = project ( )
1051
1051
. file (
1052
1052
"Cargo.toml" ,
@@ -1063,20 +1063,7 @@ fn new_warns_you_this_will_not_work() {
1063
1063
let p = p. build ( ) ;
1064
1064
1065
1065
p. cargo ( "new --lib bar" )
1066
- . with_stderr (
1067
- "\
1068
- warning: compiling this new package may not work due to invalid workspace configuration
1069
-
1070
- current package believes it's in a workspace when it's not:
1071
- current: [..]
1072
- workspace: [..]
1073
-
1074
- this may be fixable by ensuring that this crate is depended on by the workspace \
1075
- root: [..]
1076
- [..]
1077
- [CREATED] library `bar` package
1078
- " ,
1079
- )
1066
+ . with_stderr ( " Created library `bar` package" )
1080
1067
. run ( ) ;
1081
1068
}
1082
1069
You can’t perform that action at this time.
0 commit comments