summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>2021-01-04 14:03:13 +0100
committergregor herrmann <gregoa@debian.org>2021-01-04 14:03:13 +0100
commit436886c5df64be7bd8117af044d0fe4d53542eaf (patch)
treeef9d9cf8aa83f2b76cad738bf02c19a7bcc15bea
parentfae4fef2ddef18023a05ee16b97d4b5be60d6a77 (diff)
Fix test with Moose 2.201.400archive/debian/1.41-2
Origin: Github issue Bug: https://github.com/maros/MooseX-App/issues/61 Forwarded: https://github.com/maros/MooseX-App/issues/61 Bug-Debian: https://bugs.debian.org/978302 Reviewed-by: gregor herrmann <gregoa@debian.org> Last-Update: 2021-01-04 Gbp-Pq: Name fix-test-with-Moose-2.201.400.patch
-rwxr-xr-xt/05_extended.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/05_extended.t b/t/05_extended.t
index 37dab9a..4763518 100755
--- a/t/05_extended.t
+++ b/t/05_extended.t
@@ -241,7 +241,7 @@ subtest 'Test enum error message' => sub {
MooseX::App::ParsedArgv->new(argv => [qw(somecommand --another hase hh h ggg)]);
my $test18 = Test03->new_with_command();
isa_ok($test18,'MooseX::App::Message::Envelope');
- is($test18->blocks->[0]->body,"Value must be one of these values: aaa, bbb, ccc, ddd, eee, fff (not 'ggg')","Check enum error message");
+ like($test18->blocks->[0]->body, qr/Value must be one of these values: aaa, bbb, ccc, ddd, eee, fff \(not 'ggg'\)|Value must be equal to "aaa", "bbb", "ccc", "ddd", "eee", or "fff"/, "Check enum error message");
};
subtest 'Test empty multi' => sub {