Skip to content

Commit dac5c8d

Browse files
committed
Fix expectation path error
1 parent d941835 commit dac5c8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Config/ExpectationsPath.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ExpectationsPath
1414

1515
public function __construct(string $path = '')
1616
{
17-
if ('' === $path) {
17+
if ('' !== $path) {
1818
$this->set($path);
1919
}
2020
}
@@ -34,7 +34,7 @@ private function set(string $path): void
3434
*/
3535
public function getExpectationsFiles(): iterable
3636
{
37-
if ('' !== $this->path) {
37+
if ('' === $this->path) {
3838
return [];
3939
}
4040
if (!is_dir($this->path)) {

0 commit comments

Comments
 (0)