]> git.r.bdr.sh - rbdr/dotfiles/blob
7349ba337135a759dfcc9c2dc572c64886d17450
[rbdr/dotfiles] /
1 'use strict';
2
3 module.exports = function (t, a) {
4 var x = {};
5 a(t.call([]), true, "Empty");
6 a(t.call({}), true, "Empty lists");
7 a(t.call([1, x, 'raz']), true, "Uniq");
8 a(t.call([1, x, 1, 'raz']), false, "Not Uniq: primitive");
9 a(t.call([1, x, '1', 'raz']), true, "Uniq: primitive");
10 a(t.call([1, x, 1, {}, 'raz']), false, "Not Uniq: Obj");
11 };