- New upstream release 0.10 - Fix test to handle altered Test::Without::Module exception messageepel9
parent
f38a4086ed
commit
70ab9fca89
@ -1,25 +0,0 @@
|
||||
From 1f38167de051b0df00ca25ce8f351f9d8f3d21f1 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Howarth <paul@city-fan.org>
|
||||
Date: Fri, 7 Apr 2017 11:58:01 +0100
|
||||
Subject: [PATCH] Fix test for Test::Without::Module 0.19
|
||||
|
||||
---
|
||||
t/012-without-implementation.t | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/t/012-without-implementation.t b/t/012-without-implementation.t
|
||||
index 9f47c52..3191b52 100644
|
||||
--- a/t/012-without-implementation.t
|
||||
+++ b/t/012-without-implementation.t
|
||||
@@ -12,7 +12,7 @@ use Test::Without::Module qw( Class::Load::PP Class::Load::XS );
|
||||
{
|
||||
like(
|
||||
exception { require Class::Load },
|
||||
- qr/Class.Load.PP\.pm did not return a true value/,
|
||||
+ qr!Can't locate Class/Load/PP\.pm in \@INC|Class.Load.PP\.pm did not return a true value!,
|
||||
'error when loading Class::Load and no implementation is available includes errors from trying to load modules'
|
||||
);
|
||||
}
|
||||
--
|
||||
2.9.3
|
||||
|
Loading…
Reference in new issue