Skip to content
Browse files

Normalizing test paths trimming trailing slash.

  • Loading branch information...
1 parent 907943d commit a73f55a5d2ff3863c6a2e2076e7b55312168957b @davidpersson davidpersson committed May 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 console/command/Test.php
View
2 console/command/Test.php
@@ -227,7 +227,7 @@ protected function _library($path) {
* @return string Returns a fully-resolved physical path, or `false`, if an error occurs.
*/
protected function _path($path) {
- $path = str_replace('\\', '/', $path);
+ $path = rtrim(str_replace('\\', '/', $path), '/');
if (!$path) {
$this->error('Please provide a path to tests.');

0 comments on commit a73f55a

Please sign in to comment.
Something went wrong with that request. Please try again.