Skip to content

Commit f31f6f5

Browse files
committed
fix: custom assertion
1 parent e9bd785 commit f31f6f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Base.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public function testHTTPSuccess(): void
211211

212212
private function assertEqualsWithJsonLines($expectedLines, $actualLines)
213213
{
214-
for ($i = 0; $i <= \count($expectedLines); $i++) {
214+
for ($i = 0; $i < \count($expectedLines); $i++) {
215215
$this->assertArrayHasKey($i, $actualLines, "Missing line {$i}: {$expectedLines[$i]}");
216216

217217
$expectedLine = $expectedLines[$i];

0 commit comments

Comments
 (0)