shim.js 516 B

1234567891011121314
  1. "use strict";
  2. module.exports = function (t, a) {
  3. a(t.call("raz", ""), true, "Empty");
  4. a(t.call("", ""), true, "Both Empty");
  5. a(t.call("raz", "raz"), true, "Same");
  6. a(t.call("razdwa", "raz"), true, "Starts with");
  7. a(t.call("razdwa", "dwa"), true, "Ends with");
  8. a(t.call("razdwa", "zdw"), true, "In middle");
  9. a(t.call("", "raz"), false, "Something in empty");
  10. a(t.call("az", "raz"), false, "Longer");
  11. a(t.call("azasdfasdf", "azff"), false, "Not found");
  12. a(t.call("razdwa", "raz", 1), false, "Position");
  13. };