File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Microsoft.Data.SqlClient/tests/UnitTests/Microsoft/Data/SqlClient/Utilities Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public async Task ContinueTask_TaskCompletesHandlerThrows()
8686 Assert . Equal ( TaskStatus . Faulted , taskCompletionSource . Task . Status ) ;
8787 mockOnSuccess . Verify ( action => action ( ) , Times . Once ) ;
8888 mockOnFailure . VerifyNeverCalled ( ) ;
89- mockOnFailure . VerifyNeverCalled ( ) ;
89+ mockOnCancellation . VerifyNeverCalled ( ) ;
9090 }
9191
9292 [ Theory ]
@@ -185,8 +185,8 @@ public async Task ContinueTask_TaskFaults(bool handlerShouldThrow)
185185 Assert . Equal ( TaskStatus . Faulted , taskCompletionSource . Task . Status ) ;
186186
187187 mockOnSuccess . VerifyNeverCalled ( ) ;
188- mockOnCancellation . VerifyNeverCalled ( ) ;
189188 mockOnFailure . Verify ( action => action ( It . IsAny < Exception > ( ) ) , Times . Once ) ;
189+ mockOnCancellation . VerifyNeverCalled ( ) ;
190190 }
191191
192192 [ Fact ]
@@ -394,8 +394,8 @@ public async Task ContinueTaskWithState_1Generic_TaskFaults(bool handlerShouldTh
394394 Assert . Equal ( TaskStatus . Faulted , taskCompletionSource . Task . Status ) ;
395395
396396 mockOnSuccess . VerifyNeverCalled ( ) ;
397- mockOnCancellation . VerifyNeverCalled ( ) ;
398397 mockOnFailure . Verify ( action => action ( state1 , It . IsAny < Exception > ( ) ) , Times . Once ) ;
398+ mockOnCancellation . VerifyNeverCalled ( ) ;
399399 }
400400
401401 [ Fact ]
You can’t perform that action at this time.
0 commit comments