bessel/ctest/fakeassert.js

3 lines
97 B
JavaScript
Raw Permalink Normal View History

2016-10-13 17:43:49 +00:00
var assert = {};
assert.equal = function(x,y) { if(x !== y) throw new Error(x + " !== " + y); };