]> git.r.bdr.sh - rbdr/dotfiles/blob
3ebdca2d0183dfd79e088c1c82d5241d4de2f037
[rbdr/dotfiles] /
1 'use strict';
2
3 module.exports = function (t, a) {
4 var y = {}, z = {}, x = [9, z, 5, y, 'foo'];
5 t.call(x, y);
6 a.deep(x, [9, z, 5, 'foo']);
7 t.call(x, {});
8 a.deep(x, [9, z, 5, 'foo'], "Not existing");
9 t.call(x, 5);
10 a.deep(x, [9, z, 'foo'], "Primitive");
11 x = [9, z, 5, y, 'foo'];
12 t.call(x, z, 5, 'foo');
13 a.deep(x, [9, y], "More than one argument");
14 };