diff --git a/tests/tools.php b/tests/tools.php index 33baa94..e9d27f0 100644 --- a/tests/tools.php +++ b/tests/tools.php @@ -114,7 +114,8 @@ function runIterations(int $iterations, $r, array $routes) { $start2 = microtime(true); $res = $r->lookup($method, $uri); if ($res === 404 || $res === 405) { - echo Color::red("Failed to handle request.\n$method $res\n"."├─ URI: $uri\n├─ Path: $path\n"); + echo Color::red("Failed to handle request.\n$method $res\n"."├─ URI: $uri\n└─ Path: $path\n"); + echo Color::yellow("Completed $i iterations before failure.\n"); exit(1); } if ($i !== 0 && $i % ($interval) === 0) echoMemoryAndTime($i, $start2);