From 9e2b95c5a755de96ad331be994cb5be166a8eff5 Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Tue, 5 Sep 2023 11:45:12 -0400 Subject: [PATCH] Update tests/lib/linter/code-path-analysis/code-path-analyzer.js Co-authored-by: Milos Djermanovic --- tests/lib/linter/code-path-analysis/code-path-analyzer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/linter/code-path-analysis/code-path-analyzer.js b/tests/lib/linter/code-path-analysis/code-path-analyzer.js index 1912273caf30..c95af73d7392 100644 --- a/tests/lib/linter/code-path-analysis/code-path-analyzer.js +++ b/tests/lib/linter/code-path-analysis/code-path-analyzer.js @@ -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 } } );