Navigation Menu

Skip to content

Commit

Permalink
test: don't change argument destructively
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 25, 2014
1 parent 4d03c50 commit 0da4ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-utils.js
Expand Up @@ -360,7 +360,7 @@ function createReplyPacket(requestPacket, envelope) {
var timestamp = Date.now();
var requestEnvelope = requestPacket[2];
var replyEnvelope = Object.create(envelope);
envelope.inReplyTo = requestEnvelope.id;
replyEnvelope.inReplyTo = requestEnvelope.id;
return [tag, timestamp, replyEnvelope];
}
exports.createReplyPacket = createReplyPacket;
Expand Down

0 comments on commit 0da4ebc

Please sign in to comment.