From eeaaab920c532c8789d586d4efa105b15505bbaf Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 5 May 2016 20:11:42 +0000 Subject: t/view: note possibly invalid test... Ugh, I really need to get off my ass to write automated tests for an Apache2 + mod_perl config. --- t/view.t | 3 +++ 1 file changed, 3 insertions(+) (limited to 't') diff --git a/t/view.t b/t/view.t index 1a47416f..c6b1e7df 100644 --- a/t/view.t +++ b/t/view.t @@ -133,8 +133,11 @@ EOF { use PublicInbox::MID qw/id_compress/; + + # n.b: this is probably invalid since we dropped CGI for PSGI: like(id_compress('foo%bar@wtf'), qr/\A[a-f0-9]{40}\z/, "percent always converted to sha1 to workaround buggy httpds"); + is(id_compress('foobar-wtf'), 'foobar-wtf', 'regular ID not compressed'); } -- cgit v1.2.3-24-ge0c7