]> git.r.bdr.sh - rbdr/dotfiles/blob
bfc08cc208420b4681beb5868985e20c28792511
[rbdr/dotfiles] /
1 'use strict';
2
3 var isEmpty = require('../../object/is-empty');
4
5 module.exports = function (t, a) {
6 var x = {};
7 a(t(x), x, "Empty: Returns same object");
8 a(isEmpty(x), true, "Empty: Not changed");
9 x.foo = 'raz';
10 x.bar = 'dwa';
11 a(t(x), x, "Same object");
12 a(isEmpty(x), true, "Emptied");
13 };