Skip to content

Commit

Permalink
Fix the line number and column on which the error appears in the inva…
Browse files Browse the repository at this point in the history
…lid test cases
  • Loading branch information
Joachim Seminck committed Jun 2, 2017
1 parent 8983d64 commit dda84f4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/lib/rules/no-unused-prop-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -2696,8 +2696,8 @@ ruleTester.run('no-unused-prop-types', rule, {
].join('\n'),
errors: [{
message: '\'bar\' PropType is defined but prop is never used',
line: 19,
column: 10
line: 10,
column: 8
}]
}, {
code: [
Expand Down Expand Up @@ -2736,8 +2736,8 @@ ruleTester.run('no-unused-prop-types', rule, {
].join('\n'),
errors: [{
message: '\'bar\' PropType is defined but prop is never used',
line: 19,
column: 10
line: 10,
column: 8
}]
}, {
code: [
Expand Down Expand Up @@ -2776,8 +2776,8 @@ ruleTester.run('no-unused-prop-types', rule, {
].join('\n'),
errors: [{
message: '\'bar\' PropType is defined but prop is never used',
line: 19,
column: 10
line: 10,
column: 8
}]
}
/* , {
Expand Down

0 comments on commit dda84f4

Please sign in to comment.