Skip to content

Commit

Permalink
Fix test failure with P::VC 0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Dec 10, 2017
1 parent a077ae1 commit b628f70
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{{$NEXT}}

- Fix tests that fail with Params::ValidationCompiler 0.26 and require that
version.


0.44 2016-12-05

- The changes to use Params::ValidationCompiler in 0.43 were not quite
Expand Down
2 changes: 1 addition & 1 deletion lib/Courriel.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use DateTime::Format::Natural;
use Email::Address;
use Encode qw( encode );
use List::AllUtils qw( uniq );
use Params::ValidationCompiler 0.18 qw( validation_for );
use Params::ValidationCompiler 0.26 qw( validation_for );

use Moose;
use MooseX::StrictConstructor;
Expand Down
2 changes: 1 addition & 1 deletion t/Builder.t
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ EOF
{
like(
exception { build_email(); },
qr/got 0 parameters but expected at least 1/,
qr/Got 0 parameters but expected at least 1/,
'got error when passing no arguments to build_email'
);
}
Expand Down

0 comments on commit b628f70

Please sign in to comment.