Adapt tests to Params-Validate-1.09 Params-Validate-1.09 changes output what started failing tests. This is a fix ported from upstream commit: From 61f086b1fe03fab5a96a999f7b21768504d7089c Mon Sep 17 00:00:00 2001 From: Mark Gardner Date: Sun, 4 May 2014 21:07:40 +0000 Subject: [PATCH] generate Makefile.PL that detects Moose/Mouse install, defaults to Mouse MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Písař diff --git a/t/basic.t b/t/basic.t index b64f658..6c175e8 100644 --- a/t/basic.t +++ b/t/basic.t @@ -70,7 +70,7 @@ is_deeply( like( $@, - qr/Mandatory parameter 'wow' missing in call to \(eval\)/, + qr/Mandatory parameter 'wow' missing in call to ["(]eval[)"]/, 'required option field is missing', ); } diff --git a/t/configfile.t b/t/configfile.t index 6c88e79..481e4dd 100644 --- a/t/configfile.t +++ b/t/configfile.t @@ -27,7 +27,7 @@ my $cmd = Test::ConfigFromFile->new; like( $@, - qr/Mandatory parameter 'moo' missing in call to \(eval\)/, + qr/Mandatory parameter 'moo' missing in call to ["(]eval[)"]/, 'command died with the correct string', ); }