Skip to content

Commit

Permalink
add test for arrow function indentation. closes #393
Browse files Browse the repository at this point in the history
  • Loading branch information
millermedeiros committed Jan 29, 2016
1 parent 50aea72 commit 423f2da
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/compare/default/arrow_function_expression-in.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ arr.map(d =>
let defaultParams = (x, y = 1, z = 2 ) => {
return x + y + z;
}

// issue #393
a = () => {
test( () => {
return 1
})
test(() => {
return 1
})
}
10 changes: 10 additions & 0 deletions test/compare/default/arrow_function_expression-out.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,13 @@ arr.map((e, f, g) => e * f - g);
let defaultParams = (x, y = 1, z = 2) => {
return x + y + z;
}

// issue #393
a = () => {
test(() => {
return 1
})
test(() => {
return 1
})
}

0 comments on commit 423f2da

Please sign in to comment.