Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37772169
en ru br
Репозитории ALT

Группа :: Разработка/Perl
Пакет: perl-MooseX-App-Cmd

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: MooseX-App-Cmd-0.27-adapt_tests_to_params_validate_1_09.patch
Скачать


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 <mjgardner@cpan.org>
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е≥ <ppisar@redhat.com>
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',
     );
 }
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin