Skip to content

Commit

Permalink
Update tests/lib/linter/code-path-analysis/code-path-analyzer.js
Browse files Browse the repository at this point in the history
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
  • Loading branch information
nzakas and mdjermanovic authored Sep 5, 2023
1 parent b99db3b commit 9e2b95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/linter/code-path-analysis/code-path-analyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ describe("CodePathAnalyzer", () => {
})
});
linter.verify(
"foo(); function foo() {} var foo = function() {}; var foo = () => {};",
"foo(); function foo() { return; } var foo = function() { return; }; var foo = () => { return; }; throw 'boom';",
{ rules: { test: 2 }, env: { es6: true } }
);

Expand Down

0 comments on commit 9e2b95c

Please sign in to comment.