shim.js 419 B

123456789101112
  1. "use strict";
  2. module.exports = function (t, a) {
  3. a(t.call("a", 0), "", "Empty");
  4. a(t.call("a", 1), "a", "1");
  5. a(t.call("a", 2), "aa", "2");
  6. a(t.call("\t", 5), "\t\t\t\t\t", "Whitespace");
  7. a(t.call("raz", 3), "razrazraz", "Many chars");
  8. a(t.call("raz", 3), "razrazraz", "Many chars");
  9. a(t.call("razfoobar", 5), "razfoobarrazfoobarrazfoobarrazfoobarrazfoobar", "Many chars");
  10. a(t.call("a", 300).length, 300);
  11. };