From 2329be3dfc207aad5270297e6cc3966b5e5187ee Mon Sep 17 00:00:00 2001 From: mschilli Date: Mon, 30 Dec 2024 22:17:12 -0800 Subject: [PATCH] In issue https://github.com/mschilli/log4perl/issues/134 angusryer reported that MacOS Sequoia uses MAC addresses for hostnames, which caused the test suite to fail, expecting no colons (:) within hostnames. Now allowing colons, just expecting no spaces in hostnames. --- t/003Layout.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/003Layout.t b/t/003Layout.t index c352749c..d3db6116 100644 --- a/t/003Layout.t +++ b/t/003Layout.t @@ -178,7 +178,7 @@ $layout = Log::Log4perl::Layout::PatternLayout->new("%H:%m"); $app->layout($layout); $logger->debug("That's the message\n"); -like($app->buffer(), qr/^[^:]+:That's the message$/); +like($app->buffer(), qr/^\S+:That's the message$/); ############################################################ # Test max width in the format specifiers