Sha256: ed33979f510dd098c20aed3a3f775b65a1c35bab6f2a4418b57af1c908cda213
Contents?: true
Size: 342 Bytes
Versions: 29
Compression:
Stored size: 342 Bytes
Contents
'use strict'; module.exports = function (t, a) { var r = /raz/; a(t(r), r, "Direct"); r = new RegExp('foo'); a(t(r), r, "Constructor"); a.throws(function () { t({}); }, "Object"); a.throws(function () { t(function () {}); }, "Function"); a.throws(function () { t({ exec: function () { return 20; } }); }, "Plain object"); };
Version data entries
29 entries across 19 versions & 7 rubygems