File tree 3 files changed +2
-8
lines changed 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -633,9 +633,7 @@ fn config_invalid_empty() {
633
633
634
634
p. cargo ( "check" )
635
635
. with_status ( 101 )
636
- . with_stderr_contains (
637
- "[..]missing field `level`[..] THIS RANDOM SENTENCE SHOULD FAIL THIS TEST BUT DIDN'T" ,
638
- )
636
+ . with_stderr_contains ( "[..]missing field `level`[..]" )
639
637
. run ( ) ;
640
638
}
641
639
Original file line number Diff line number Diff line change @@ -2937,9 +2937,6 @@ fn use_mtime_cache_in_cargo_home() {
2937
2937
. with_stderr (
2938
2938
"\
2939
2939
[DIRTY] foo v0.5.0 ([CWD]): [..]
2940
-
2941
- THIS RANDOM SENTENCE SHOULD FAIL THIS TEST BUT DIDN'T
2942
-
2943
2940
[CHECKING] foo v0.5.0 ([CWD])
2944
2941
[RUNNING] `rustc --crate-name foo --edition=2015 src/lib.rs [..]" ,
2945
2942
)
Original file line number Diff line number Diff line change @@ -148,8 +148,7 @@ fn help_alias() {
148
148
cargo_process ( "help empty-alias" )
149
149
. env ( "PATH" , Path :: new ( "" ) )
150
150
. with_status ( 101 )
151
- . with_stderr_contains ( "THIS RANDOM SENTENCE SHOULD FAIL THIS TEST BUT DIDN'T [..] The subcommand 'empty-alias' wasn't recognized [..]" ,
152
- )
151
+ . with_stderr_contains ( "[..]The subcommand 'empty-alias' wasn't recognized[..]" )
153
152
. run ( ) ;
154
153
155
154
// Because `simple-alias` aliases a subcommand with no arguments, help shows the manpage.
You can’t perform that action at this time.
0 commit comments