Skip to content

Commit 3736570

Browse files
committed
add more test cases
1 parent 4c502c7 commit 3736570

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/PathComponentTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ function provideConcatPaths () : \Generator {
162162
yield ['/foo/bar/', '', true, true, '', '/foo', 'bar/'];
163163
yield ['/foo/bar', '', true, false, '/foo/', '/bar'];
164164
yield ['/foo.php/bar.html', 'html', true, false, '/foo.php', 'bar.html'];
165+
yield ['', '', false, false, '', ''];
166+
yield ['foo', '', false, false, 'foo', ''];
165167
}
166168

167169
}

0 commit comments

Comments
 (0)