diff options
Diffstat (limited to 'lib/assert.js')
-rw-r--r-- | lib/assert.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/assert.js b/lib/assert.js index 4a01e5c7f..70e784a50 100644 --- a/lib/assert.js +++ b/lib/assert.js @@ -323,4 +323,4 @@ assert.doesNotThrow = function(block, /*optional*/message) { _throws.apply(this, [false].concat(pSlice.call(arguments))); }; -assert.ifError = function(err) { if (err) {throw err;}}; +assert.ifError = function(err) { if (err) throw err; }; |