diff --git a/t/unknown_conf.t b/t/unknown_conf.t index bb2f423..0583b9a 100644 --- a/t/unknown_conf.t +++ b/t/unknown_conf.t @@ -15,6 +15,6 @@ eval { ok !$server, 'server did not initialize ok'; -like $@, qr/\*\*\* FATAL CONFIG FILE ERROR( \([^\)]+\))? \*\*\*/, 'error msg ok'; +like $@, qr/(?:\*\*\* FATAL CONFIG FILE ERROR( \([^\)]+\))? \*\*\*|Module Configuration detected without loadmodule directive or no ApplyConfig call: aborting)/, 'error msg ok'; done_testing;