use strict;
use warnings;
-use Test::More tests => 22;
+use Test::More tests => 20;
use Test::Exception;
-use Test::Output;
package Constraint::AtLeast;
use Moose;
- ::stderr_is {
- with 'Constraint' => { excludes => 'error_message' };
- } "";
+ with 'Constraint';
sub validate {
my ($self, $field) = @_;
package Constraint::NoMoreThan;
use Moose;
- ::stderr_is {
- with 'Constraint' => { excludes => 'error_message' };
- } '';
+ with 'Constraint';
sub validate {
my ($self, $field) = @_;