Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 9786d66

Browse files
committed
- updates check test for dirwritable to not fail because of additional '.' in message
1 parent 50c2a25 commit 9786d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ZendDiagnosticsTest/ChecksTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ public function testDirWritable()
453453
$this->assertInstanceOf('ZendDiagnostics\Result\Failure', $result);
454454
$this->assertStringMatchesFormat('%s' . $dir1 . '%s', $result->getMessage());
455455
$this->assertStringMatchesFormat('%s' . $dir2 . '%s', $result->getMessage());
456-
$this->assertStringMatchesFormat('%simprobabledir999999999999', $result->getMessage());
456+
$this->assertStringMatchesFormat('%simprobabledir999999999999%s', $result->getMessage());
457457

458458
chmod($dir1, 0777);
459459
chmod($dir2, 0777);

0 commit comments

Comments
 (0)