aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-07-01 11:56:45 +0300
committerGravatar Vitaly Takmazov2019-07-01 11:56:45 +0300
commit4f7f6b1d2712a98c31fd9b4603502573e93fc71b (patch)
treecbb220633879a6b942c673069e2fff585c8b1760 /src/test/java/com/juick
parent4099efb66c021a74dcc34881603bd9259391be62 (diff)
MessageUtils: Fix regexLink2 pattern
Diffstat (limited to 'src/test/java/com/juick')
-rw-r--r--src/test/java/com/juick/MessageTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/com/juick/MessageTest.java b/src/test/java/com/juick/MessageTest.java
index 9153ea9c..b4c5f4ab 100644
--- a/src/test/java/com/juick/MessageTest.java
+++ b/src/test/java/com/juick/MessageTest.java
@@ -227,5 +227,8 @@ public class MessageTest {
assertThat(MessageUtils.formatMessage(complexMessage), is(formattedMessage));
String multiQuoteWithCarriageReturn = "> quote line 1\r\n> quote line 2\r\nmessage";
assertThat(MessageUtils.formatMessage(multiQuoteWithCarriageReturn), is("<q>quote line 1<br/>\nquote line 2</q>message"));
+ MessageUtils.formatMessage("wget -t 3 -T 10 -w 5 -O - http://www.gismeteo.ru <http://www.gismeteo.ru>/city/daily/4787/ &>/dev/null\n" +
+ "\n" +
+ "if [ \"$?\" -ne \"0\" ]; then\n");
}
}