File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -632,12 +632,16 @@ mod tests {
632632 . find ( |req| req. status == BenchmarkRequestStatus :: Completed ) ;
633633 assert ! ( completed_try. is_some( ) ) ;
634634 assert_eq ! ( completed_try. unwrap( ) . pr( ) , Some ( & pr) ) ;
635+ assert_eq ! ( completed_try. unwrap( ) . tag( ) , Some ( "sha-2" ) ) ;
636+ assert_eq ! ( completed_try. unwrap( ) . parent_sha( ) , Some ( "p-sha-1" ) ) ;
635637
636638 let artifacts_ready_try = requests
637639 . iter ( )
638640 . find ( |req| req. status == BenchmarkRequestStatus :: ArtifactsReady ) ;
639641 assert ! ( artifacts_ready_try. is_some( ) ) ;
640642 assert_eq ! ( artifacts_ready_try. unwrap( ) . pr( ) , Some ( & pr) ) ;
643+ assert_eq ! ( artifacts_ready_try. unwrap( ) . tag( ) , Some ( "foo" ) ) ;
644+ assert_eq ! ( artifacts_ready_try. unwrap( ) . parent_sha( ) , Some ( "bar" ) ) ;
641645
642646 Ok ( ctx)
643647 } )
You can’t perform that action at this time.
0 commit comments