@@ -, +, @@ --- t/Koha/Object/Message.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/t/Koha/Object/Message.t +++ a/t/Koha/Object/Message.t @@ -52,5 +52,5 @@ subtest 'new() tests' => sub { 'Koha::Exceptions::MissingParameter', 'Exception thrown if required parameter missing'; - is( "$@", "Mandatory parameter missing: 'message'", 'Expected exception message' ); + like( "$@", qr/Mandatory parameter missing: 'message'/, 'Expected exception message' ); }; --