File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
unstable-feature-usage-metrics
unstable-feature-usage-metrics-incremental Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -86,9 +86,7 @@ fn test_metrics_errors() {
86
86
. env ( "RUST_BACKTRACE" , "short" )
87
87
. arg ( "-Zmetrics-dir=invaliddirectorythatdefinitelydoesntexist" )
88
88
. run_fail ( )
89
- . assert_stderr_contains (
90
- "error: cannot dump feature usage metrics: No such file or directory" ,
91
- )
89
+ . assert_stderr_contains ( "error: cannot dump feature usage metrics" )
92
90
. assert_stdout_not_contains ( "internal compiler error" ) ;
93
91
} ) ;
94
92
}
Original file line number Diff line number Diff line change @@ -83,9 +83,7 @@ fn test_metrics_errors() {
83
83
. env ( "RUST_BACKTRACE" , "short" )
84
84
. arg ( "-Zmetrics-dir=invaliddirectorythatdefinitelydoesntexist" )
85
85
. run_fail ( )
86
- . assert_stderr_contains (
87
- "error: cannot dump feature usage metrics: No such file or directory" ,
88
- )
86
+ . assert_stderr_contains ( "error: cannot dump feature usage metrics" )
89
87
. assert_stdout_not_contains ( "internal compiler error" ) ;
90
88
} ) ;
91
89
}
You can’t perform that action at this time.
0 commit comments