Sha256: c1ace2ddfa29db6427b7f26fbf1730ec56c1fe9a22d5fe07b196dfbe410234ca
Contents?: true
Size: 267 Bytes
Versions: 29
Compression:
Stored size: 267 Bytes
Contents
'use strict'; module.exports = function (t, a) { a.deep(t({ foo: 'bar' }), ['foo'], "Object"); a.deep(t('raz'), ['0', '1', '2'], "Primitive"); a.throws(function () { t(); }, TypeError, "Undefined"); a.throws(function () { t(null); }, TypeError, "Undefined"); };
Version data entries
29 entries across 19 versions & 7 rubygems