bessel/ctest/fakeassert.js
2016-10-13 13:43:49 -04:00

3 lines
97 B
JavaScript

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