Skip to content

Commit

Permalink
Chore: fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Sep 30, 2018
1 parent a0e89ee commit 9f123ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rules/operator-assignment.js
Expand Up @@ -162,7 +162,7 @@ module.exports = {
*/
context.report({
node,
message: "Assignment can be replaced with operator assignment."
messageId: "replaced"
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/rules/no-unused-labels.js
Expand Up @@ -57,7 +57,7 @@ ruleTester.run("no-unused-labels", rule, {
{
code: "A: for (var i = 0; i < 10; ++i) { B: break A; }",
output: "A: for (var i = 0; i < 10; ++i) { break A; }",
errors: [{ messageId: "unused", data: { name: "B:" } }]
errors: [{ messageId: "unused", data: { name: "B" } }]
},
{
code: "A: { var A = 0; console.log(A); }",
Expand Down

0 comments on commit 9f123ed

Please sign in to comment.