diff --git a/tests/path_split.aer b/tests/path_split.aer index 516ce66..015f1c5 100644 --- a/tests/path_split.aer +++ b/tests/path_split.aer @@ -1,6 +1,6 @@ class Program { - string[] parsePathComponents(string $path, bool $endSlash=true, bool $base=false) { + string[] parsePathComponents(string $path, bool $endSlash=true, bool $file=false) { string[] $retArray; $path = trim($path); string $str, $temp; @@ -14,7 +14,7 @@ class Program { $temp = ''; } } - ($base && $temp) ? $retArray[$temp] = $str + $temp : NULL; + ($file && $temp) ? $retArray[$temp] = $str + $temp : NULL; return $retArray; }