@@ -379,7 +379,7 @@ fn time_test_failure_template(test_type: TestType) -> TestResult {
379379
380380#[ test]
381381fn test_error_on_exceed ( ) {
382- let types = [ TestType :: UnitTest , TestType :: IntegrationTest , TestType :: DocTest ] ;
382+ let types = [ TestType :: UnitTest , TestType :: IntegrationTest , TestType :: DocTest { merged : true } ] ;
383383
384384 for test_type in types. iter ( ) {
385385 let result = time_test_failure_template ( * test_type) ;
@@ -433,9 +433,9 @@ fn test_time_options_threshold() {
433433 ( TestType :: IntegrationTest , integration. warn . as_millis ( ) - 1 , false , false ) ,
434434 ( TestType :: IntegrationTest , integration. warn . as_millis ( ) , true , false ) ,
435435 ( TestType :: IntegrationTest , integration. critical . as_millis ( ) , true , true ) ,
436- ( TestType :: DocTest , doc. warn . as_millis ( ) - 1 , false , false ) ,
437- ( TestType :: DocTest , doc. warn . as_millis ( ) , true , false ) ,
438- ( TestType :: DocTest , doc. critical . as_millis ( ) , true , true ) ,
436+ ( TestType :: DocTest { merged : false } , doc. warn . as_millis ( ) - 1 , false , false ) ,
437+ ( TestType :: DocTest { merged : false } , doc. warn . as_millis ( ) , true , false ) ,
438+ ( TestType :: DocTest { merged : false } , doc. critical . as_millis ( ) , true , true ) ,
439439 ] ;
440440
441441 for ( test_type, time, expected_warn, expected_critical) in test_vector. iter ( ) {
0 commit comments