js-crc32/ctest/fakeassert.js

3 lines
97 B
JavaScript

var assert = {};
assert.equal = function(x,y) { if(x !== y) throw new Error(x + " !== " + y); };