unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH] t/view: note possibly invalid test...
@ 2016-05-05 20:12 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-05-05 20:12 UTC (permalink / raw)
  To: meta

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(+)

diff --git a/t/view.t b/t/view.t
index 1a47416..c6b1e7d 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');
 }

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-05 20:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-05 20:12 [PATCH] t/view: note possibly invalid test Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).