Skip to content

Commit fb57fca

Browse files
fix(tests): Correct path joining in HubTest to use DIRECTORY_SEPARATOR for consistency
1 parent 4a01a49 commit fb57fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Utils/HubTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
});
3232

3333
it('joins paths correctly with trailing slash', function () {
34-
$result = joinPaths('path', 'to', 'file/');
34+
$result = joinPaths('path', 'to', 'file'.DIRECTORY_SEPARATOR);
3535
$expected = 'path'.DIRECTORY_SEPARATOR.'to'.DIRECTORY_SEPARATOR.'file';
3636
expect($result)->toBe($expected);
3737
});

0 commit comments

Comments
 (0)