diff options
author | Eric Wong <e@80x24.org> | 2016-05-05 20:11:42 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-05-05 20:11:42 +0000 |
commit | eeaaab920c532c8789d586d4efa105b15505bbaf (patch) | |
tree | 3e067eac2e0be87de03eb5522ae9f08d4dde456d /t | |
parent | 1bd4f49d3e6e19f71d170058cc8c6cb466dc5b9f (diff) | |
download | public-inbox-eeaaab920c532c8789d586d4efa105b15505bbaf.tar.gz |
Ugh, I really need to get off my ass to write automated tests for an Apache2 + mod_perl config.
Diffstat (limited to 't')
-rw-r--r-- | t/view.t | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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'); } |