Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.js35
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"))
- }
- }
-})