Skip to content

Instantly share code, notes, and snippets.

@oliver
Created September 21, 2014 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oliver/5ed673edc8521b63827b to your computer and use it in GitHub Desktop.
Save oliver/5ed673edc8521b63827b to your computer and use it in GitHub Desktop.
[PATCH] change test to cover the original problem from rt-84767
From 856ce484fc090725525e9781baab2fd02610400f Mon Sep 17 00:00:00 2001
From: Oliver Gerlich <oliver.gerlich@gmx.de>
Date: Sun, 21 Sep 2014 12:46:23 +0200
Subject: [PATCH] change test to cover the original problem from rt-84767
---
t/rt-84767.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/rt-84767.t b/t/rt-84767.t
index 36a480f..28f72ec 100644
--- a/t/rt-84767.t
+++ b/t/rt-84767.t
@@ -18,7 +18,7 @@ open( my $fh,"<","$Script" )
while ( <$fh> ) {
eval { die("error") if /error/; };
$@ && do {
- like( $@,qr!at t/$Script line 19!,'die with input line number' );
+ like( $@,qr!at t/$Script line 19, <\$fh> line 19!,'die with input line number' );
last;
}
}
--
1.7.9.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment