From 706510eeb19997f21850c3879d4fef9b8e5fc9c3 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 24 Sep 2023 22:02:54 +0000 Subject: [PATCH] fix autoloader bug --- tests/Autoloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Autoloader.php b/tests/Autoloader.php index 3e4fb27..3194eea 100755 --- a/tests/Autoloader.php +++ b/tests/Autoloader.php @@ -59,7 +59,7 @@ final class Autoloader */ public static function addPath(string $path) : void { - self::$paths[] = $path; + self::$paths[] = \rtrim($path, '/\\') . '/'; } /**