diff.js 447 B

12345678910111213
  1. "use strict";
  2. module.exports = {
  3. "__generic": function (t, a) { a.deep(t.call(this, this), []); },
  4. "": function (t, a) {
  5. var x = {}, y = {};
  6. a.deep(t.call([1, "raz", x, 2, "trzy", y], [x, 2, "trzy"]), [1, "raz", y], "Scope longer");
  7. a.deep(t.call([1, "raz", x], [x, 2, "trzy", 1, y]), ["raz"], "Arg longer");
  8. a.deep(t.call([1, "raz", x], []), [1, "raz", x], "Empty arg");
  9. a.deep(t.call([], [1, y, "sdfs"]), [], "Empty scope");
  10. }
  11. };