Sha256: c62009724a28986193befd6b7746ea8f8a96fef1ac64df78fe3e4b05a8ffeeb2
Contents?: true
Size: 252 Bytes
Versions: 43
Compression:
Stored size: 252 Bytes
Contents
module.exports = assert; function assert(val, msg) { if (!val) throw new Error(msg || 'Assertion failed'); } assert.equal = function assertEqual(l, r, msg) { if (l != r) throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r)); };
Version data entries
43 entries across 42 versions & 15 rubygems