X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Flinkify.t;h=9280fd91fcf70f5a3306ac14dc5d6de3b4c896c1;hb=b66f13a1764606b9c4d0a6a8e22ab1a8e30570ad;hp=c492358257525fab99487f8e53bde3e55e209896;hpb=1735e5c2cf87b28b096ad91008bdb764d853b26d;p=public-inbox.git
diff --git a/t/linkify.t b/t/linkify.t
index c4923582..9280fd91 100644
--- a/t/linkify.t
+++ b/t/linkify.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2018 all contributors
+# Copyright (C) 2016-2021 all contributors
# License: AGPL-3.0+
use strict;
use warnings;
@@ -144,4 +144,9 @@ href="http://www.$hc.example.com/">http://www.$hc.example.com/};
is($s, $expect, 'IDN message escaped properly');
}
+{
+ my $false_positive = 'LINKIFY'.('A' x 40);
+ is(PublicInbox::Linkify->new->to_html($false_positive),
+ $false_positive, 'false-positive left as-is');
+}
done_testing();