]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/view: note possibly invalid test...
authorEric Wong <e@80x24.org>
Thu, 5 May 2016 20:11:42 +0000 (20:11 +0000)
committerEric Wong <e@80x24.org>
Thu, 5 May 2016 20:11:42 +0000 (20:11 +0000)
Ugh, I really need to get off my ass to write automated tests for
an Apache2 + mod_perl config.

t/view.t

index 1a47416faaef9944f80494b22d90360e3229bc9d..c6b1e7df2c6ab7c110c396b10d86c2a65be54cf4 100644 (file)
--- 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');
 }