Skip to content

Commit

Permalink
test: Add failing no-commented-out-code test.
Browse files Browse the repository at this point in the history
  • Loading branch information
cartant committed Mar 11, 2021
1 parent 031a959 commit 5635029
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/rules/no-commented-out-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,23 @@ ruleTester({ types: false }).run("no-commented-out-code", rule, {
const answer = 42;
`,
},
{
code: stripIndent`
// https://github.com/cartant/eslint-plugin-etc/issues/28
enum Data {
// City
Zero,
// Город
One,
// 町
Two,
// İlçe
Three,
// Քաղաք
Four,
}
`,
},
],
invalid: [
fromFixture(
Expand Down

0 comments on commit 5635029

Please sign in to comment.