From 37dcf7285a9db115e7fc8e0f7b62e4606c0f630b Mon Sep 17 00:00:00 2001 From: Caleb James DeLisle Date: Tue, 19 Dec 2017 19:16:53 +0100 Subject: [PATCH] Need to be exactly true, not just truthy --- www/assert/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/assert/main.js b/www/assert/main.js index 428a197c9..c792c780c 100644 --- a/www/assert/main.js +++ b/www/assert/main.js @@ -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" &&