File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public void Issue52_ReqToRouterBug()
128128
129129 var msg = router . ReceiveMultipartMessage ( ) ;
130130 Assert . Equal ( 3 , msg . FrameCount ) ;
131- Assert . Equal ( msg [ 2 ] . ConvertToString ( ) , testmessage ) ;
131+ Assert . Equal ( testmessage , msg [ 2 ] . ConvertToString ( ) ) ;
132132 }
133133 }
134134
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public void ReceiveReadyDot35Bug()
4444 using ( var server = new RouterSocket ( ) )
4545 {
4646 server . BindRandomPort ( "tcp://127.0.0.1" ) ;
47- server . ReceiveReady += ( s , e ) => Assert . True ( false , "Should not receive" ) ;
47+ server . ReceiveReady += ( s , e ) => Assert . Fail ( "Should not receive" ) ;
4848
4949 Assert . False ( server . Poll ( TimeSpan . FromMilliseconds ( 1500 ) ) ) ;
5050 }
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ public void Manual()
332332 sub . SendFrame ( new byte [ ] { 1 , ( byte ) 'A' } ) ;
333333 var subscription = pub . ReceiveFrameBytes ( ) ;
334334
335- Assert . Equal ( subscription [ 1 ] , ( byte ) 'A' ) ;
335+ Assert . Equal ( ( byte ) 'A' , subscription [ 1 ] ) ;
336336
337337 pub . Subscribe ( "B" ) ;
338338 pub . SendFrame ( "A" ) ;
@@ -356,7 +356,7 @@ public void WelcomeMessage()
356356
357357 var subscription = pub . ReceiveFrameBytes ( ) ;
358358
359- Assert . Equal ( subscription [ 1 ] , ( byte ) 'W' ) ;
359+ Assert . Equal ( ( byte ) 'W' , subscription [ 1 ] ) ;
360360
361361 Assert . Equal ( "W" , sub . ReceiveFrameString ( ) ) ;
362362 }
@@ -377,7 +377,7 @@ public void ClearWelcomeMessage()
377377
378378 var subscription = pub . ReceiveFrameBytes ( ) ;
379379
380- Assert . Equal ( subscription [ 1 ] , ( byte ) 'W' ) ;
380+ Assert . Equal ( ( byte ) 'W' , subscription [ 1 ] ) ;
381381
382382 Assert . False ( sub . TrySkipFrame ( ) ) ;
383383 }
You can’t perform that action at this time.
0 commit comments