From: Eric Wong Date: Thu, 5 May 2016 20:11:42 +0000 (+0000) Subject: t/view: note possibly invalid test... X-Git-Tag: v1.0.0~556 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=eeaaab920c532c8789d586d4efa105b15505bbaf;p=public-inbox.git 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. --- 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'); }