diff options
Diffstat (limited to 'deps/npm/node_modules/async-some/test/base-case.js')
-rw-r--r-- | deps/npm/node_modules/async-some/test/base-case.js | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/deps/npm/node_modules/async-some/test/base-case.js b/deps/npm/node_modules/async-some/test/base-case.js deleted file mode 100644 index 356890521d6..00000000000 --- a/deps/npm/node_modules/async-some/test/base-case.js +++ /dev/null @@ -1,35 +0,0 @@ -var test = require("tap").test - -var some = require("../some.js") - -test("some() array base case", function (t) { - some([], failer, function (error, match) { - t.ifError(error, "ran successfully") - - t.notOk(match, "nothing to find, so nothing found") - - t.end() - }) - - function failer(value, cb) { - cb(new Error("test should never have been called")) - } -}) - -test("some() arguments arraylike base case", function (t) { - go() - - function go() { - some(arguments, failer, function (error, match) { - t.ifError(error, "ran successfully") - - t.notOk(match, "nothing to find, so nothing found") - - t.end() - }) - - function failer(value, cb) { - cb(new Error("test should never have been called")) - } - } -}) |