Skip to content

Commit 6a50a86

Browse files
committed
fix unix/win dir separators
1 parent 592b232 commit 6a50a86

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

ext/spl/tests/RecursiveDirectoryIterator_getSubPath_basic.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ function rrmdir($dir) {
4343
rrmdir($targetDir);
4444
?>
4545

46-
--EXPECT--
46+
--EXPECTF--
4747
a0c967a6c2c34786e4802f59af9356f5
4848
a0c967a6c2c34786e4802f59af9356f5
49-
a0c967a6c2c34786e4802f59af9356f5/9925aabb545352472e4d77942627b507
50-
a0c967a6c2c34786e4802f59af9356f5/9925aabb545352472e4d77942627b507
51-
a0c967a6c2c34786e4802f59af9356f5/9925aabb545352472e4d77942627b507
49+
a0c967a6c2c34786e4802f59af9356f5%c9925aabb545352472e4d77942627b507
50+
a0c967a6c2c34786e4802f59af9356f5%c9925aabb545352472e4d77942627b507
51+
a0c967a6c2c34786e4802f59af9356f5%c9925aabb545352472e4d77942627b507
5252
==DONE==

ext/spl/tests/RecursiveDirectoryIterator_getSubPathname_basic.phpt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ function rrmdir($dir) {
4444
$targetDir = __DIR__ . DIRECTORY_SEPARATOR . md5('recursiveDirectoryIterator::getSubPathname');
4545
rrmdir($targetDir);
4646
?>
47-
--EXPECT--
47+
--EXPECTF--
4848
.
4949
.
5050
..
51-
a0c967a6c2c34786e4802f59af9356f5/.
52-
a0c967a6c2c34786e4802f59af9356f5/..
53-
a0c967a6c2c34786e4802f59af9356f5/9925aabb545352472e4d77942627b507/.
54-
a0c967a6c2c34786e4802f59af9356f5/9925aabb545352472e4d77942627b507/..
55-
a0c967a6c2c34786e4802f59af9356f5/9925aabb545352472e4d77942627b507/getSubPathname_test_2.tmp
56-
a0c967a6c2c34786e4802f59af9356f5/getSubPathname_test_3.tmp
51+
a0c967a6c2c34786e4802f59af9356f5%c.
52+
a0c967a6c2c34786e4802f59af9356f5%c..
53+
a0c967a6c2c34786e4802f59af9356f5%c9925aabb545352472e4d77942627b507%c.
54+
a0c967a6c2c34786e4802f59af9356f5%c9925aabb545352472e4d77942627b507%c..
55+
a0c967a6c2c34786e4802f59af9356f5%c9925aabb545352472e4d77942627b507%cgetSubPathname_test_2.tmp
56+
a0c967a6c2c34786e4802f59af9356f5%cgetSubPathname_test_3.tmp
5757
getSubPathname_test_1.tmp
5858
==DONE==

0 commit comments

Comments
 (0)