diff options
author | Aydar Zartdinov <zartdinov@gmail.com> | 2015-07-09 07:39:34 +0300 |
---|---|---|
committer | Aydar Zartdinov <zartdinov@gmail.com> | 2015-07-09 07:39:34 +0300 |
commit | 479d36cf6ee1d6abfe3d2cf7da44e4d85de711be (patch) | |
tree | 3ba59322e3fee87ddd5b3bc350bedb83e0c3f292 /test/test-async.js | |
parent | 6f2530b838d3e9ab8178e48092388d78fae61721 (diff) | |
download | async-479d36cf6ee1d6abfe3d2cf7da44e4d85de711be.tar.gz |
added "should not get an error here" messages
Diffstat (limited to 'test/test-async.js')
-rwxr-xr-x | test/test-async.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-async.js b/test/test-async.js index 4dc7bfb..ebde554 100755 --- a/test/test-async.js +++ b/test/test-async.js @@ -4283,7 +4283,7 @@ exports['asyncify'] = { }); async.asyncify(promisified)("argument", function (err, value) { if (err) { - return test.done(new Error(err)); + return test.done(new Error("should not get an error here")); } test.ok(value === "argument resolved"); test.done(); @@ -4318,7 +4318,7 @@ exports['asyncify'] = { }; async.asyncify(promisified)("argument", function (err, value) { if (err) { - return test.done(new Error(err)); + return test.done(new Error("should not get an error here")); } test.ok(value === "argument resolved"); test.done(); @@ -4355,7 +4355,7 @@ exports['asyncify'] = { }; async.asyncify(promisified)("argument", function (err, value) { if (err) { - return test.done(new Error(err)); + return test.done(new Error("should not get an error here")); } test.ok(value === "argument resolved"); test.done(); |