Path splitting test.
All checks were successful
The build was successful.

This commit is contained in:
2019-04-17 08:32:19 +02:00
parent 395f6c446c
commit ec580ddf8c
2 changed files with 64 additions and 0 deletions

32
tests/path_split.exp Normal file
View File

@@ -0,0 +1,32 @@
Array(5) {
[my] =>
my/
[stupid] =>
my/stupid/
[path] =>
my/stupid/path/
[to] =>
my/stupid/path/to/
[some] =>
my/stupid/path/to/some/
}
Array(3) {
[my] =>
my
[other] =>
my/other
[path] =>
my/other/path
}
Array(5) {
[my] =>
my/
[other] =>
my/other/
[path] =>
my/other/path/
[to] =>
my/other/path/to/
[file.php] =>
my/other/path/to/file.php
}