Skip to content

Commit c34c68c

Browse files
committed
pretty test
1 parent be73b35 commit c34c68c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/RetryTest.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ function testRetryWithoutFailing()
1111
$i++;
1212
return 5;
1313
});
14+
1415
$this->assertSame(1, $i);
1516
$this->assertSame(5, $value);
1617
}
@@ -27,6 +28,7 @@ function testRetryFailingOnce()
2728
}
2829
return 5;
2930
});
31+
3032
$this->assertSame(2, $i);
3133
$this->assertSame(5, $value);
3234
}
@@ -54,7 +56,7 @@ function testRetryManyTimes()
5456
$e = null;
5557
$i = 0;
5658
try {
57-
retry(1000, function () use (&$i, &$failed) {
59+
retry(1000, function () use (&$i) {
5860
$i++;
5961
throw new \RuntimeException('dogecoin');
6062
});

0 commit comments

Comments
 (0)