aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'juick-common/src/test')
-rw-r--r--juick-common/src/test/java/com/juick/MessageTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-common/src/test/java/com/juick/MessageTest.java b/juick-common/src/test/java/com/juick/MessageTest.java
index d9c83b84..6197f861 100644
--- a/juick-common/src/test/java/com/juick/MessageTest.java
+++ b/juick-common/src/test/java/com/juick/MessageTest.java
@@ -177,5 +177,7 @@ public class MessageTest {
List<String> mentions = MessageUtils.getMentions(msg);
assertThat(mentions.size(), is(1));
assertThat(mentions.get(0), is("@ugnich"));
+ msg.setText("And dick is @ugnich@jabber.zp.ua");
+ assertThat(MessageUtils.getGlobalMentions(msg).size(), is(1));
}
}