Skip to content

Commit

Permalink
Remove old hashPassword test
Browse files Browse the repository at this point in the history
  • Loading branch information
felixge committed Sep 2, 2010
1 parent 7bc90da commit fff1c0a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/simple/test-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,3 @@ test(function token() {
assert.deepEqual(auth.token(null, SCRAMBLE), new Buffer(0));
})();
});

(function testHashPassword() {
var BUFFER;
gently.expect(auth, 'int32Write', 2, function (buffer, number, offset) {
assert.equal(number, [1732607522, 1780094397][offset / 4]);
assert.equal(buffer.length, 8);
BUFFER = buffer;
});

var result = auth.hashPassword('root');
assert.strictEqual(result, BUFFER);
})();

0 comments on commit fff1c0a

Please sign in to comment.