File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -100,14 +100,20 @@ fn default_args_alias() {
100
100
p. cargo ( "echo" )
101
101
. env ( "PATH" , & path)
102
102
. with_status ( 101 )
103
- . with_stderr ( "error: alias echo has unresolvable recursive definition: echo -> echo" )
103
+ . with_stderr ( "\
104
+ warning: user-defined alias `echo` is shadowing an external subcommand found at: `[ROOT]/cargo-echo/target/debug/cargo-echo`
105
+ error: alias echo has unresolvable recursive definition: echo -> echo
106
+ " ,
107
+ )
104
108
. run ( ) ;
105
109
106
110
p. cargo ( "test-1" )
107
111
. env ( "PATH" , & path)
108
112
. with_status ( 101 )
109
- . with_stderr (
110
- "error: alias test-1 has unresolvable recursive definition: test-1 -> echo -> echo" ,
113
+ . with_stderr ( "\
114
+ warning: user-defined alias `echo` is shadowing an external subcommand found at: `[ROOT]/cargo-echo/target/debug/cargo-echo`
115
+ error: alias test-1 has unresolvable recursive definition: test-1 -> echo -> echo
116
+ " ,
111
117
)
112
118
. run ( ) ;
113
119
You can’t perform that action at this time.
0 commit comments