Skip to content

Commit

Permalink
not used Promise was fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
zartdinov committed Jul 9, 2015
1 parent edee839 commit 458c73c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-async.js
Expand Up @@ -4274,7 +4274,7 @@ exports['asyncify'] = {
promises[name] = {
'resolve': function(test) {
var promisified = function(argument) {
return new this.Promise(function (resolve) {
return new Promise(function (resolve) {
setTimeout(function () {
resolve(argument + " resolved");
}, 15);
Expand All @@ -4291,7 +4291,7 @@ exports['asyncify'] = {

'reject': function(test) {
var promisified = function(argument) {
return new this.Promise(function (resolve, reject) {
return new Promise(function (resolve, reject) {
reject(argument + " rejected");
});
};
Expand Down

0 comments on commit 458c73c

Please sign in to comment.