From 14397045c9eccc8ef962fb69e5cf936bdb54cd18 Mon Sep 17 00:00:00 2001 From: Shoichi Kaji Date: Sat, 18 Mar 2017 20:27:46 +0900 Subject: [PATCH] output debug message only if TEST_VERBOSE is true --- t/Crust-Middleware/accesslog.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/Crust-Middleware/accesslog.t b/t/Crust-Middleware/accesslog.t index 6feb2ac..9796569 100644 --- a/t/Crust-Middleware/accesslog.t +++ b/t/Crust-Middleware/accesslog.t @@ -24,7 +24,7 @@ sub make-check-combined-logs($io) { return; } ok($v > 0); - note "# " ~ $s; + note "# " ~ $s if %*ENV; } }