Skip to content

Instantly share code, notes, and snippets.

@kyleconroy
Created January 14, 2013 03:32
Show Gist options
  • Save kyleconroy/4527589 to your computer and use it in GitHub Desktop.
Save kyleconroy/4527589 to your computer and use it in GitHub Desktop.
var lua = require('../lib/core');
var tmp = null;
var _checkers_1 = lua.newtable();
lua.tableset(_checkers_1, 'eq', (function (_x, _y) {
var tmp;
lua.call(lua.assert, [lua.eq(_x, _y), lua.concat(_x, lua.concat(" should equal ", _y))]);
return [];
}));
lua.tableset(_checkers_1, 'lte', (function (_x, _y) {
var tmp;
lua.call(lua.assert, [lua.lte(_x, _y), lua.concat(_x, lua.concat(" should be <= ", _y))]);
return [];
}));
module.exports = _checkers_1; //AHAHAH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment