Skip to content

Commit

Permalink
[Tests] fix inverted logic in FF3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Sep 16, 2022
1 parent 51fad32 commit 056ebd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit 056ebd4

Please sign in to comment.