frac/ctest/fakeassert.js
2017-03-29 03:08:09 -04:00

3 lines
97 B
JavaScript

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