Subject: | [git only] t/url.t syntax error |
The working version of the dist in git at:
https://github.com/markstos/CGI.pm
has a syntax error in t/url.t introduced in c64ac59844.
Fix attached as a git am style patch.
Subject: | 0001-reinstate-line-mistakenly-removed-by-c64ac59844.patch |
From f703e26d535d5529dc667b9b9d43803d640c2813 Mon Sep 17 00:00:00 2001
From: Tony Cook <tony@develop-help.com>
Date: Mon, 6 May 2013 10:21:19 +1000
Subject: [PATCH] reinstate line mistakenly removed by c64ac59844
This caused a syntax error running the test
---
t/url.t | 1 +
1 file changed, 1 insertion(+)
diff --git a/t/url.t b/t/url.t
index 22e0fe7..1a8198a 100644
--- a/t/url.t
+++ b/t/url.t
@@ -65,6 +65,7 @@ subtest 'rewrite_interactions' => sub {
is( $q->url(-rewrite=>1,-path=>1), 'http://example.com/real/path/info',
'$q->url(-rewrite=>1,-path=>1), with rewriting detected' );
is( $q->url(-rewrite=>0,-path=>0), 'http://example.com/real/cgi-bin/dispatch.cgi',
+ '$q->url(-rewrite=>0,-path=>1), with rewriting detected' );
};
subtest 'RT#58377: + in PATH_INFO' => sub {
--
1.7.10.4