Skip to content

Commit

Permalink
Chore: fix invalid syntax in no-param-reassign test (#8360)
Browse files Browse the repository at this point in the history
The parser would have reported an error for this syntax when we did an espree release.
  • Loading branch information
not-an-aardvark committed Mar 30, 2017
1 parent 1b1046b commit 5878593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/rules/no-param-reassign.js
Expand Up @@ -37,7 +37,7 @@ ruleTester.run("no-param-reassign", rule, {
{ code: "function foo(a, z) { a.b = 0; x.y = 0; }", options: [{ props: true, ignorePropertyModificationsFor: ["a", "x"] }] },
{ code: "function foo(a) { a.b.c = 0;}", options: [{ props: true, ignorePropertyModificationsFor: ["a"] }] },
{
code: "function foo(a) { ({ [a]: variable }) = value }",
code: "function foo(a) { ({ [a]: variable } = value) }",
options: [{ props: true }],
parserOptions: { ecmaVersion: 6 }
}
Expand Down

0 comments on commit 5878593

Please sign in to comment.