Skip to content

Commit

Permalink
chore: test case merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DMartens committed Apr 2, 2024
1 parent 56d7198 commit 9a92dd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/lib/rules/no-object-constructor.js
Expand Up @@ -191,6 +191,8 @@ ruleTester.run("no-object-constructor", rule, {
})),

...[

// No semicolon required before `({})` because ASI does not occur
{
code: `
{}
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/rules/no-unused-vars.js
Expand Up @@ -1470,7 +1470,7 @@ ruleTester.run("no-unused-vars", rule, {
{
code: "const a = () => () => { a(); };",
languageOptions: { ecmaVersion: 2015 },
errors: [{ ...assignedError("a") }]
errors: [{ ...assignedError("a"), line: 1, column: 7 }]
},
{
code: `let myArray = [1,2,3,4].filter((x) => x == 0);
Expand Down

0 comments on commit 9a92dd1

Please sign in to comment.