Skip to content

Commit 931bca2

Browse files
authored
remove duplicated catch block
1 parent 291c1e9 commit 931bca2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Tests/AbstractCrawlerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,8 +1072,6 @@ public function testChildren()
10721072
$this->assertTrue(true, '->children() does not trigger a notice if the node has no children');
10731073
} catch (\PHPUnit\Framework\Error\Notice $e) {
10741074
$this->fail('->children() does not trigger a notice if the node has no children');
1075-
} catch (\PHPUnit\Framework\Error\Notice $e) {
1076-
$this->fail('->children() does not trigger a notice if the node has no children');
10771075
}
10781076
}
10791077

0 commit comments

Comments
 (0)