Skip to content

Commit 40f18ae

Browse files
committed
Add test case for #24
1 parent 0d935f4 commit 40f18ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/org/nibor/autolink/AutolinkUrlTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public void matchingPunctuation() {
126126
assertLinked("{http://example.org/}", "{|http://example.org/|}");
127127
assertLinked("\"http://example.org/\"", "\"|http://example.org/|\"");
128128
assertLinked("'http://example.org/'", "'|http://example.org/|'");
129+
assertLinked("http://foo[.]example[.]org/abc/", "|http://foo[.]example[.]org/abc/|");
129130
}
130131

131132
@Test

0 commit comments

Comments
 (0)