File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,15 +64,15 @@ server.listen(0, function() {
64
64
// readyState is deprecated but we want to make
65
65
// sure this isn't triggering an assert in lib/net.js
66
66
// See https://github.com/nodejs/node-v0.x-archive/issues/1069.
67
- assert . strictEqual ( 'closed' , client . readyState ) ;
67
+ assert . strictEqual ( client . readyState , 'closed' ) ;
68
68
69
69
// Confirming the buffer string is encoded in ASCII
70
70
// and thus does NOT match the UTF8 string
71
- assert . notStrictEqual ( buffer , messageUtf8 ) ;
71
+ assert . notStrictEqual ( messageUtf8 , buffer ) ;
72
72
73
73
// Confirming the buffer string is encoded in ASCII
74
74
// and thus does equal the ASCII string representation
75
- assert . strictEqual ( buffer , messageAscii ) ;
75
+ assert . strictEqual ( messageAscii , buffer ) ;
76
76
77
77
server . close ( ) ;
78
78
} ) ;
You can’t perform that action at this time.
0 commit comments