Skip to content

Commit

Permalink
Fix : test case param name
Browse files Browse the repository at this point in the history
  • Loading branch information
sunghyunjo committed Sep 1, 2020
1 parent d9fa577 commit 28bc1b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/rules/prop-types.js
Expand Up @@ -53,8 +53,8 @@ ruleTester.run('prop-types', rule, {
},
{
code: `
function Foo({ sunghyun = "" as string }): JSX.Element {
return <div>{sunghyun}</div>;
function Foo({ bar = "" as string }): JSX.Element {
return <div>{bar}</div>;
}
`,
parser: parsers['@TYPESCRIPT_ESLINT']
Expand Down

0 comments on commit 28bc1b2

Please sign in to comment.