File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Cake.AzureDevOps/Pipelines Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public void Should_Return_Empty_Comment_Thread()
32
32
33
33
// Then
34
34
thread . ShouldNotBeNull ( ) ;
35
- thread . InnerThread . ShouldBeOfType ( typeof ( GitPullRequestCommentThread ) ) ;
35
+ thread . InnerThread . ShouldBeOfType < GitPullRequestCommentThread > ( ) ;
36
36
thread . Id . ShouldBe ( default ) ;
37
37
thread . FilePath . ShouldBeNull ( ) ;
38
38
thread . Status . ShouldBe ( default ) ;
Original file line number Diff line number Diff line change @@ -687,7 +687,7 @@ private async Task<IEnumerable<AzureDevOpsTestResult>> GetTestResults(
687
687
runId ,
688
688
skip : resultCount ,
689
689
top : resultsToRead ,
690
- outcomes : filterOutcomesList ? . Select ( o => ( TestOutcome ) Enum . Parse ( typeof ( TestOutcome ) , o , true ) ) . ToList ( ) )
690
+ outcomes : filterOutcomesList ? . Select ( o => Enum . Parse < TestOutcome > ( o , true ) ) . ToList ( ) )
691
691
. ConfigureAwait ( false ) )
692
692
. Select ( test =>
693
693
new AzureDevOpsTestResult
You can’t perform that action at this time.
0 commit comments