File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1523,6 +1523,7 @@ fn __rust_begin_short_backtrace<F: FnOnce()>(f: F) {
1523
1523
fn calc_result ( desc : & TestDesc , task_result : Result < ( ) , Box < dyn Any + Send > > ) -> TestResult {
1524
1524
match ( & desc. should_panic , task_result) {
1525
1525
( & ShouldPanic :: No , Ok ( ( ) ) ) | ( & ShouldPanic :: Yes , Err ( _) ) => TrOk ,
1526
+ ( & ShouldPanic :: Yes , Ok ( ( ) ) ) => TrFailedMsg ( "test did not panic as expected" . to_string ( ) ) ,
1526
1527
( & ShouldPanic :: YesWithMessage ( msg) , Err ( ref err) ) => {
1527
1528
if err
1528
1529
. downcast_ref :: < String > ( )
@@ -1561,6 +1562,7 @@ impl MetricMap {
1561
1562
///
1562
1563
/// If `noise` is positive, then it means this metric is of a value
1563
1564
/// you want to see grow smaller, so a change larger than `noise` in the
1565
+
1564
1566
/// positive direction represents a regression.
1565
1567
///
1566
1568
/// If `noise` is negative, then it means this metric is of a value
You can’t perform that action at this time.
0 commit comments