Skip to content

Commit

Permalink
mochajs#1329 again: fixed boolean blunder
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Hiller committed Aug 30, 2014
1 parent 7d89662 commit 340cb56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -5990,7 +5990,7 @@ mocha.run = function(fn){

return Mocha.prototype.run.call(mocha, function(err){
// The DOM Document is not available in Web Workers.
if (global.document && options.noHighlighting !== false) {
if (global.document && options.noHighlighting !== true) {
Mocha.utils.highlightTags('code');
}
if (fn) fn(err);
Expand Down
2 changes: 1 addition & 1 deletion support/tail.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ mocha.run = function(fn){

return Mocha.prototype.run.call(mocha, function(err){
// The DOM Document is not available in Web Workers.
if (global.document && options.noHighlighting !== false) {
if (global.document && options.noHighlighting !== true) {
Mocha.utils.highlightTags('code');
}
if (fn) fn(err);
Expand Down

1 comment on commit 340cb56

@jbnicolai
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.