Skip to content

Commit

Permalink
Merge pull request #337 from fmm/patch-1
Browse files Browse the repository at this point in the history
Update server.js
  • Loading branch information
nkzawa committed Sep 1, 2015
2 parents f3fd4bb + fd89de6 commit 79a001d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ describe('server', function () {

socket.on('open', function () {
socket.on('message', function(msg) {
for (var i = 0, ii = 0; i < binaryData.length; i += 4, ii++) {
for (var i = 0, ii = 0; ii < binaryData.length; i += 4, ii++) {
var num = msg.readInt32LE(i);
expect(num).to.be((ii + 100) * 9823);
}
Expand All @@ -1077,7 +1077,7 @@ describe('server', function () {

socket.on('open', function () {
socket.on('message', function(msg) {
for (var i = 0, ii = 0; i < binaryData.length; i += 4, ii++) {
for (var i = 0, ii = 0; ii < binaryData.length; i += 4, ii++) {
var num = msg.readInt32LE(i);
expect(num).to.be((ii + 100) * 9823);
}
Expand Down

0 comments on commit 79a001d

Please sign in to comment.