frac/ctest/fakeassert.js

3 lines
97 B
JavaScript
Raw Normal View History

2017-03-29 07:08:09 +00:00
var assert = {};
assert.equal = function(x,y) { if(x !== y) throw new Error(x + " !== " + y); };