From 34c366faea108584aeff20203cc7ba6a95cf77b8 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Wed, 25 Feb 2015 14:54:41 -0800 Subject: [PATCH] Fix backwards logic of #3780. --- packages/tinytest/tinytest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tinytest/tinytest.js b/packages/tinytest/tinytest.js index 60c0bbdc90..20f2669f2b 100644 --- a/packages/tinytest/tinytest.js +++ b/packages/tinytest/tinytest.js @@ -284,7 +284,7 @@ _.extend(TestCaseResults.prototype, { } else /* fail -- not something that contains other things */; - if (pass === !!not) + if (pass === ! not) this.ok(); else { this.fail({type: "include", message: message,