1 var test = require("tap").test
3 var some = require("../some.js")
5 var NOP = function () {}
7 test("some() called with bogus parameters", function (t) {
10 }, "throws when called with no parameters")
12 t.throws(function () {
14 }, "throws when called with no list")
16 t.throws(function () {
18 }, "throws when called with no predicate")
20 t.throws(function () {
22 }, "throws when called with no callback")
24 t.throws(function () {
26 }, "throws when called with wrong list type")
28 t.throws(function () {
30 }, "throws when called with wrong test type")
32 t.throws(function () {
34 }, "throws when called with wrong test type")