JavaScript-V8-CommonJS

 view release on metacpan or  search on metacpan

t/modules/1.0/nested/test.js  view on Meta::CPAN


exports.print = typeof print !== "undefined" ? print : function () {
    var system = require("system");
    var stdio = system.stdio;
    stdio.print.apply(stdio, arguments);
};

exports.assert = function (guard, message) {
    if (guard) {
        exports.print('PASS ' + message, 'pass');
    } else {
        exports.print('FAIL ' + message, 'fail');
    }
};



( run in 1.451 second using v1.01-cache-2.11-cpan-b50b6a40fd4 )