Sha256: dd422da80aca5571938f0a1cd6ca5143113a867418a54fc3e99cc832d93b3f37
Contents?: true
Size: 295 Bytes
Versions: 29
Compression:
Stored size: 295 Bytes
Contents
'use strict'; var isEmpty = require('../../object/is-empty'); module.exports = function (t, a) { var x = {}; a(t(x), x, "Empty: Returns same object"); a(isEmpty(x), true, "Empty: Not changed"); x.foo = 'raz'; x.bar = 'dwa'; a(t(x), x, "Same object"); a(isEmpty(x), true, "Emptied"); };
Version data entries
29 entries across 19 versions & 7 rubygems