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 {
632
632
. find ( |req| req. status == BenchmarkRequestStatus :: Completed ) ;
633
633
assert ! ( completed_try. is_some( ) ) ;
634
634
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" ) ) ;
635
637
636
638
let artifacts_ready_try = requests
637
639
. iter ( )
638
640
. find ( |req| req. status == BenchmarkRequestStatus :: ArtifactsReady ) ;
639
641
assert ! ( artifacts_ready_try. is_some( ) ) ;
640
642
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" ) ) ;
641
645
642
646
Ok ( ctx)
643
647
} )
You can’t perform that action at this time.
0 commit comments