Skip to content

Commit 5232183

Browse files
committed
#35 test first
1 parent 8855107 commit 5232183

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

test/es5/indent-continuation.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
'use strict';
2+
3+
var generateCommand = {};
4+
var ok = function () {
5+
};
6+
var fail = function () {
7+
};
8+
9+
generateCommand.execute('something').
10+
then(function () {
11+
fail('error');
12+
}).
13+
catch(function () {
14+
ok('good');
15+
});
16+
17+
generateCommand.execute('something2').then(function () {
18+
fail('error');
19+
}).catch(function () {
20+
ok('good');
21+
});

0 commit comments

Comments
 (0)