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

Commit 50c2a25

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

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
@@ -392,7 +392,7 @@ public function testDirWritable()
392392
$result = $check->check();
393393
$this->assertInstanceOf('ZendDiagnostics\Result\Failure', $result, 'Non-dir path');
394394
$this->assertStringMatchesFormat('%s' . $path1 . '%s', $result->getMessage());
395-
$this->assertStringMatchesFormat('%s' . $path2, $result->getMessage());
395+
$this->assertStringMatchesFormat('%s' . $path2 . '%s', $result->getMessage());
396396

397397
// create a barrage of unwritable directories
398398
$tmpDir = sys_get_temp_dir();

0 commit comments

Comments
 (0)