]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/lei_external.t
www: drop --subject from "git send-email" instructions
[public-inbox.git] / t / lei_external.t
index 78f71658529745a99b41d6bc3ef379d2ea49ca90..51d0af5c6333e52d436ed6722791e5bfab229857 100644 (file)
@@ -17,6 +17,7 @@ is($canon->('/this//path/'), '/this/path', 'extra slashes gone');
 is($canon->('/ALL/CAPS'), '/ALL/CAPS', 'caps preserved');
 
 my $glob2re = $cls->can('glob2re');
+is($glob2re->('http://[::1]:1234/foo/'), undef, 'IPv6 URL not globbed');
 is($glob2re->('foo'), undef, 'plain string unchanged');
 is_deeply($glob2re->('[f-o]'), '[f-o]' , 'range accepted');
 is_deeply($glob2re->('*'), '[^/]*?' , 'wildcard accepted');