diff options
author | bspates <bxs4361@g.rit.edu> | 2016-04-04 19:03:52 -0700 |
---|---|---|
committer | bspates <bxs4361@g.rit.edu> | 2016-04-04 19:03:52 -0700 |
commit | 26f5653882e714bb04935e6ad745cdfafb8e371d (patch) | |
tree | 16c67fa1df4631d9813bc89bf5be7c19c8ccc763 | |
parent | 45841e7280b44d400ee32a51edba5c2d67c66436 (diff) | |
download | async-26f5653882e714bb04935e6ad745cdfafb8e371d.tar.gz |
update comments to match change to ensureAsync
-rw-r--r-- | mocha_test/ensureAsync.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mocha_test/ensureAsync.js b/mocha_test/ensureAsync.js index 37f9549..0aecee6 100644 --- a/mocha_test/ensureAsync.js +++ b/mocha_test/ensureAsync.js @@ -8,7 +8,7 @@ describe('ensureAsync', function() { it('should propely bind context to the wrapped function', function(done) {
- // call bind after wrapping with initialParams
+ // call bind after wrapping with ensureAsync
var context = {context: "post"};
var postBind = async.ensureAsync(passContext);
postBind = postBind.bind(context);
@@ -20,7 +20,7 @@ describe('ensureAsync', function() { it('should not override the bound context of a function when wrapping', function(done) {
- // call bind before wrapping with initialParams
+ // call bind before wrapping with ensureAsync
var context = {context: "pre"};
var preBind = passContext.bind(context);
preBind = async.ensureAsync(preBind);
|