diff options
author | Vitaly Takmazov | 2024-11-10 16:44:04 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-11-24 22:51:46 +0300 |
commit | 997917cfe73ab2f48ecc9c4624ac64f1ce6474b9 (patch) | |
tree | 29af502fbea9cc6ca3bf9cc786cbd11c6efe5728 /src/test/java/com | |
parent | 700a1a7ab859512322f796197b640fa25786499a (diff) |
Drop unused code
Diffstat (limited to 'src/test/java/com')
-rw-r--r-- | src/test/java/com/juick/MessageTest.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/java/com/juick/MessageTest.java b/src/test/java/com/juick/MessageTest.java index e750f652..01eafe5c 100644 --- a/src/test/java/com/juick/MessageTest.java +++ b/src/test/java/com/juick/MessageTest.java @@ -164,13 +164,6 @@ public class MessageTest { assertThat(StringUtils.countMatches(MessageUtils.getTagsString(message), "*ab"), equalTo(1)); } @Test - public void markdownContentShouldNotHaveUnescapedReplyNumbersBecauseOfTelegram() { - Message msg = new Message(); - msg.setMid(1); - msg.setText("See /303 again"); - assertThat(MessageUtils.formatMarkdownText(msg), is("See [/303](https://juick.com/m/1#303) again")); - } - @Test public void shouldNotThrowIfUrlContainsIllegalCharacters() { String msg = "[te](http://juick.com/)[st](http://juick.com/)"; assertThat(MessageUtils.stripNonSafeUrls(msg), is(msg)); |