js-crc32/ctest/fakeassert.js

3 lines
86 B
JavaScript

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