Permalink
Browse files

Chore: Uncommented test for empty program for no-invalid-meta (#10046)

  • Loading branch information...
platinumazure committed Mar 22, 2018
1 parent c383bc5 commit 837edc7c08f60595b6a451ef80a3e727c844c167
Showing with 8 additions and 18 deletions.
  1. +8 −18 tests/tools/internal-rules/no-invalid-meta.js
@@ -242,24 +242,14 @@ ruleTester.run("no-invalid-meta", rule, {
column: 5
}]
},
/*
* Rule doesn't export anything: Should warn on the Program node.
* See https://github.com/eslint/eslint/issues/9534
*/
/*
* Should be invalid, but will currently show as valid due to #9534.
* FIXME: Uncomment when #9534 is fixed in major release.
* {
* code: "",
* errors: [{
* message: "Rule does not export anything. Make sure rule exports an object according to new rule format.",
* line: 1,
* column: 1
* }]
* },
*/
{
code: "",
errors: [{
message: "Rule does not export anything. Make sure rule exports an object according to new rule format.",
line: 1,
column: 1
}]
},
{
code: "foo();",
errors: [{

0 comments on commit 837edc7

Please sign in to comment.