Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #146 from mmalecki/fix-output

[fix] Fix failed assertions output
  • Loading branch information...
commit 0894d9444c0cfd941c52f609fa0f709e86375885 2 parents ef4a803 + 7290532
@indexzero indexzero authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/assert/error.js
View
2  lib/assert/error.js
@@ -19,7 +19,7 @@ require('assert').AssertionError.prototype.toString = function () {
if (this.message) {
return stylize(parse(this.message), 'yellow') +
- (source) ? stylize(' // ' + source[1] + source[2], 'grey') : '';
+ ((source) ? stylize(' // ' + source[1] + source[2], 'grey') : '');
} else {
return stylize([
this.expected,
Please sign in to comment.
Something went wrong with that request. Please try again.