about summary refs log tree commit homepage
path: root/t/view.t
diff options
context:
space:
mode:
Diffstat (limited to 't/view.t')
-rw-r--r--t/view.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/view.t b/t/view.t
index fd3c75be..151fa77f 100644
--- a/t/view.t
+++ b/t/view.t
@@ -146,10 +146,10 @@ EOF
 
 
 {        # XXX dirty hack
-        use PublicInbox::MID qw/mid_compressed/;
-        like(mid_compressed('foo%bar@wtf'), qr/\A[a-f0-9]{40}\z/,
+        use PublicInbox::MID qw/mid_compress/;
+        like(mid_compress('foo%bar@wtf'), qr/\A[a-f0-9]{40}\z/,
                 "percent always converted to sha1 to workaround buggy httpds");
-        is(mid_compressed('foobar@wtf'), 'foobar@wtf',
+        is(mid_compress('foobar@wtf'), 'foobar@wtf',
                 'regular MID not compressed');
 }