Skip to content

Commit

Permalink
Unicode snowman for you
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Oct 27, 2011
1 parent 3480429 commit c1de890
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion support/test-runner/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ suite('socket.test.js', function () {
server('test sending unicode', function (io) {
io.sockets.on('connection', function (socket) {
socket.on('message', function (msg) {
if (msg.test == "\u2028") {
if (msg.test == "") {
socket.emit('done');
}
});
Expand Down
2 changes: 1 addition & 1 deletion test/socket.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
throw new Error(msg || 'Received an error');
});

socket.json.send({ test: "\u2028" });
socket.json.send({ test: "" });

socket.on('done', function () {
socket.disconnect();
Expand Down

0 comments on commit c1de890

Please sign in to comment.