File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public async Task Initialize_WhenStreamIsClosedByServer_ThrowWriterExceptionOnWr
5656
5757 await taskNextComplete . Task ;
5858 // check attempt repeated!!!
59- _mockStream . Verify ( stream => stream . Write ( It . IsAny < StreamWriteMessage . Types . FromClient > ( ) ) , Times . Exactly ( 2 ) ) ;
59+ _mockStream . Verify ( stream => stream . Write ( It . IsAny < FromClient > ( ) ) , Times . Exactly ( 2 ) ) ;
6060 _mockStream . Verify ( stream => stream . MoveNextAsync ( ) , Times . Exactly ( 2 ) ) ;
6161 }
6262
@@ -197,7 +197,7 @@ public async Task Initialize_WhenNotSupportedCodec_ThrowWriterExceptionOnWriteAs
197197 ( await Assert . ThrowsAsync < WriterException > ( ( ) => writer . WriteAsync ( 123L ) ) ) . Message ) ;
198198
199199 // check not attempt repeated!!!
200- _mockStream . Verify ( stream => stream . Write ( It . IsAny < StreamWriteMessage . Types . FromClient > ( ) ) , Times . Once ) ;
200+ _mockStream . Verify ( stream => stream . Write ( It . IsAny < FromClient > ( ) ) , Times . Once ) ;
201201 _mockStream . Verify ( stream => stream . MoveNextAsync ( ) , Times . Once ) ;
202202 }
203203
You can’t perform that action at this time.
0 commit comments