Skip to content

Commit fed30b6

Browse files
committed
Fix for Windows test
1 parent 384cf83 commit fed30b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/src/ValueAbstracts/KeyPairFilenameConfigTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function testGetPrivateKeyStringThrowsExceptionWhenFileCannotBeRead(): vo
141141

142142
try {
143143
$this->expectException(RuntimeException::class);
144-
$this->expectExceptionMessage(sprintf('Could not read file %s.', $unreadableFile));
144+
$this->expectExceptionMessage('Could not read file');
145145
$config->getPrivateKeyString();
146146
} finally {
147147
chmod($unreadableFile, 0666);

0 commit comments

Comments
 (0)