diff options
author | Alexander Early <alexander.early@gmail.com> | 2015-10-24 19:29:02 -0700 |
---|---|---|
committer | Alexander Early <alexander.early@gmail.com> | 2015-10-24 19:29:02 -0700 |
commit | 4ad7d3079dc4de92f29762ecde773ecbac8f1b24 (patch) | |
tree | 03c31a05f2c587b7d1abba9e9dd7eae5ec2d8d1a /test | |
parent | a1fdd1cf87ca86ddcac71e744ab08899a84656cc (diff) | |
parent | 0574aa90d696e22e5c870192ba8ec22e4e0e9eb2 (diff) | |
download | async-4ad7d3079dc4de92f29762ecde773ecbac8f1b24.tar.gz |
Merge pull request #873 from caolan/object-map
Allow map to return objects
Diffstat (limited to 'test')
-rwxr-xr-x | test/test-async.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test-async.js b/test/test-async.js index 1bab994..6160564 100755 --- a/test/test-async.js +++ b/test/test-async.js @@ -1827,6 +1827,7 @@ exports['map'] = { callback(null, val * 2); }, function (err, result) { if (err) throw err; + test.equals(Object.prototype.toString.call(result), '[object Object]'); test.same(result, {a: 2, b: 4, c: 6}); test.done(); }); |