Expects `block` not to throw an error.
+### assert.ifError(value)
+
+Tests if value is not a false value, throws if it is a true value. Useful when testing the first argument, `error` in callbacks.
## Path
_throws.apply(this, [false].concat(pSlice.call(arguments)));
};
+assert.ifError = function (err) { if (err) {throw err;}};
}
assert.equal(true,threw,'a.doesNotThrow is not catching type matching errors');
+assert.throws(function () {assert.ifError(new Error('test error'))});
+assert.doesNotThrow(function(){assert.ifError(null)});
+assert.doesNotThrow(function(){assert.ifError()});