Skip to content

Commit

Permalink
fix tests for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
arukompas committed Feb 20, 2025
1 parent 068860d commit e29bace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/FilePathsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
expect($files)->toHaveCount(1);
$file = $files[0];
expect($file->path)->toBe($originalFile->path)
->and($file->displayPath)->toBe('TestPath/first.log')
->and($file->displayPath)->toBe('TestPath'.DIRECTORY_SEPARATOR.'first.log')
->and($file->subFolder)->toBe('TestPath');
});

Expand All @@ -136,6 +136,6 @@
expect($files)->toHaveCount(1);
$file = $files[0];
expect($file->path)->toBe($originalFile->path)
->and($file->displayPath)->toBe('TestPath/first.log')
->and($file->displayPath)->toBe('TestPath'.DIRECTORY_SEPARATOR.'first.log')
->and($file->subFolder)->toBe('TestPath');
});

0 comments on commit e29bace

Please sign in to comment.