File tree 3 files changed +5
-5
lines changed
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()
128
128
129
129
var msg = router . ReceiveMultipartMessage ( ) ;
130
130
Assert . Equal ( 3 , msg . FrameCount ) ;
131
- Assert . Equal ( msg [ 2 ] . ConvertToString ( ) , testmessage ) ;
131
+ Assert . Equal ( testmessage , msg [ 2 ] . ConvertToString ( ) ) ;
132
132
}
133
133
}
134
134
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public void ReceiveReadyDot35Bug()
44
44
using ( var server = new RouterSocket ( ) )
45
45
{
46
46
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" ) ;
48
48
49
49
Assert . False ( server . Poll ( TimeSpan . FromMilliseconds ( 1500 ) ) ) ;
50
50
}
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ public void Manual()
332
332
sub . SendFrame ( new byte [ ] { 1 , ( byte ) 'A' } ) ;
333
333
var subscription = pub . ReceiveFrameBytes ( ) ;
334
334
335
- Assert . Equal ( subscription [ 1 ] , ( byte ) 'A' ) ;
335
+ Assert . Equal ( ( byte ) 'A' , subscription [ 1 ] ) ;
336
336
337
337
pub . Subscribe ( "B" ) ;
338
338
pub . SendFrame ( "A" ) ;
@@ -356,7 +356,7 @@ public void WelcomeMessage()
356
356
357
357
var subscription = pub . ReceiveFrameBytes ( ) ;
358
358
359
- Assert . Equal ( subscription [ 1 ] , ( byte ) 'W' ) ;
359
+ Assert . Equal ( ( byte ) 'W' , subscription [ 1 ] ) ;
360
360
361
361
Assert . Equal ( "W" , sub . ReceiveFrameString ( ) ) ;
362
362
}
@@ -377,7 +377,7 @@ public void ClearWelcomeMessage()
377
377
378
378
var subscription = pub . ReceiveFrameBytes ( ) ;
379
379
380
- Assert . Equal ( subscription [ 1 ] , ( byte ) 'W' ) ;
380
+ Assert . Equal ( ( byte ) 'W' , subscription [ 1 ] ) ;
381
381
382
382
Assert . False ( sub . TrySkipFrame ( ) ) ;
383
383
}
You can’t perform that action at this time.
0 commit comments