Skip to content

Commit da38c53

Browse files
author
Nicolas Lefebvre
committed
test case for fix for issue yui#203 (promises)
1 parent 840e5a0 commit da38c53

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
var p = new Promise(resolve, reject) {};
2+
p.then(function(res) {})
3+
.catch(function(err) {})
4+
.finally(function() {});
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
var p=new Promise(resolve,reject){};p.then(function(a){}).catch(function(a){}).finally(function(){});

0 commit comments

Comments
 (0)