Sha256: 7425f9d4a97aa304f069c7e1fb81bb2fa618a56439c6861c96f16e00fced9c1f
Contents?: true
Size: 1.69 KB
Versions: 26
Compression:
Stored size: 1.69 KB
Contents
module.exports = { 'assert.eql()': function(assert){ assert.equal(assert.deepEqual, assert.eql); }, 'assert.includes()': function(assert){ assert.includes('some random string', 'random'); assert.includes('some random string', 'dom'); assert.throws(function(){ assert.include('some random string', 'foobar'); }); }, 'assert.isNull()': function(assert){ assert.isNull(null); assert.throws(function(){ assert.isNull(undefined); }); assert.throws(function(){ assert.isNull(false); }); }, 'assert.isUndefined()': function(assert){ assert.isUndefined(undefined); assert.throws(function(){ assert.isUndefined(null); }); assert.throws(function(){ assert.isUndefined(false); }); }, 'assert.isNotNull()': function(assert){ assert.isNotNull(false); assert.isNotNull(undefined); assert.throws(function(){ assert.isNotNull(null); }); }, 'assert.isNotUndefined()': function(assert){ assert.isNotUndefined(false); assert.isNotUndefined(null); assert.throws(function(){ assert.isNotUndefined(undefined); }); }, 'assert.match()': function(assert){ assert.match('foobar', /foo(bar)?/); assert.throws(function(){ assert.match('something', /rawr/); }); }, 'assert.length()': function(assert){ assert.length(4, 'test'); assert.length(4, [1,2,3,4]); assert.throws(function(){ assert.length(4, [1,2,3]) }); } };
Version data entries
26 entries across 26 versions & 1 rubygems