Need to be exactly true, not just truthy

pull/1/head
Caleb James DeLisle 7 years ago
parent 5ae4f1bb41
commit 37dcf7285a

@ -134,7 +134,7 @@ define([
// check that old hashes parse correctly
assert(function (cb) {
if (1) { return cb(1); } // TODO(cjd): This is a test failure which is a known bug
if (1) { return cb(true); } // TODO(cjd): This is a test failure which is a known bug
var secret = Hash.parsePadUrl('/pad/#67b8385b07352be53e40746d2be6ccd7XAYSuJYYqa9NfmInyHci7LNy');
return cb(secret.hashData.channel === "67b8385b07352be53e40746d2be6ccd7" &&
secret.hashData.key === "XAYSuJYYqa9NfmInyHci7LNy" &&

Loading…
Cancel
Save