Skip to content

Commit 26d37c7

Browse files
committed
Fixed tests
1 parent d26de94 commit 26d37c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/Sniffs/Functions/RequireArrowFunctionSniffTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ public function testDisallowNestedNoErrors(): void
1717

1818
public function testDisallowNestedErrors(): void
1919
{
20-
$report = self::checkFile(__DIR__ . '/data/requireArrowFunctionDisallowNestedErrors.php');
20+
$report = self::checkFile(__DIR__ . '/data/requireArrowFunctionDisallowNestedErrors.php', [
21+
'allowNested' => false,
22+
]);
2123

2224
self::assertSame(3, $report->getErrorCount());
2325

0 commit comments

Comments
 (0)