diff options
author | Graeme Yeates <yeatesgraeme@gmail.com> | 2015-08-01 15:37:41 -0400 |
---|---|---|
committer | Graeme Yeates <yeatesgraeme@gmail.com> | 2015-08-01 15:44:11 -0400 |
commit | 0574aa90d696e22e5c870192ba8ec22e4e0e9eb2 (patch) | |
tree | fa18563af711b761ff75d10ff53b23882d2086c5 /test/test-async.js | |
parent | 1f97538586e09ce76168fa1ceb04288fd958b0a0 (diff) | |
download | async-object-map.tar.gz |
Allow map to return objectsobject-map
Diffstat (limited to 'test/test-async.js')
-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 dc7d949..23aa2b9 100755 --- a/test/test-async.js +++ b/test/test-async.js @@ -1810,6 +1810,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(); }); |