Skip to content
Permalink
Browse files
Chore: remove duplicate code (#14719)
  • Loading branch information
snitin315 committed Jun 18, 2021
1 parent 6a1c7a0 commit eea7e0d09d6ef43d6663cbe424e7974764a5f7fe
Showing with 0 additions and 1 deletion.
  1. +0 −1 tests/lib/linter/linter.js
@@ -3401,7 +3401,6 @@ var a = "test2";
return {};
});

linter.defineRule("checker", filenameChecker);
linter.defineRule("checker", filenameChecker);
linter.verify("foo;", { rules: { checker: "error" } }, { filename: "foo.js" });
assert(filenameChecker.calledOnce);

0 comments on commit eea7e0d

Please sign in to comment.