From 056ebd48790f46ca18ff5b12f51b44c08ccc3595 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 16 Sep 2022 13:55:37 -0700 Subject: [PATCH] [Tests] fix inverted logic in FF3 test --- test/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index 22295a1..e3da3bc 100644 --- a/test/index.js +++ b/test/index.js @@ -203,7 +203,7 @@ test('DOM', function (t) { var all = document.all; var isFF3 = Object.prototype.toString(all) === Object.prototype.toString.call(document.all); - st.equal(isCallable(document.all), isFF3, 'document.all is ' + (isFF3 ? 'not ' : '') + 'callable'); + st.equal(isCallable(document.all), !isFF3, 'document.all is ' + (isFF3 ? 'not ' : '') + 'callable'); st.end(); });