Skip to content

Commit

Permalink
Add failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
peters committed Sep 12, 2012
1 parent 52db72e commit b44ca8f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/memcached-get-set.test.js
Expand Up @@ -259,13 +259,7 @@ describe("Memcached GET SET", function() {
++callbacks;

assert.ok(!error);
assert.ok(Buffer.isBuffer(answer));
assert.ok(Buffer.isBuffer(message));
//assert.equal(answer.toString('binary'), message.toString('binary'));
assert.ok(message.toString('binary') === message.toString('binary'));
assert.ok(answer.toString('binary') === answer.toString('binary'));
console.log(answer.length, message.length);
//assert.ok(answer.toString('binary') === message.toString('binary'));
assert.ok(answer.toString('binary') === message.toString('binary'));
memcached.end(); // close connections
assert.equal(callbacks, 2);
done();
Expand Down

0 comments on commit b44ca8f

Please sign in to comment.