(val, msg)
| 11773 | module.exports = assert; |
| 11774 | |
| 11775 | function assert(val, msg) { |
| 11776 | if (!val) throw new Error(msg || 'Assertion failed'); |
| 11777 | } |
| 11778 | |
| 11779 | assert.equal = function assertEqual(l, r, msg) { |
| 11780 | if (l != r) throw new Error(msg || 'Assertion failed: ' + l + ' != ' + r); |
no outgoing calls
no test coverage detected