summaryrefslogtreecommitdiffstats
path: root/app/notification_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/notification_test.go')
-rw-r--r--app/notification_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/notification_test.go b/app/notification_test.go
index c72610b60..1abdd3d61 100644
--- a/app/notification_test.go
+++ b/app/notification_test.go
@@ -234,6 +234,12 @@ func TestGetExplicitMentions(t *testing.T) {
OtherPotentialMentions: []string{"potential"},
},
},
+ "PotentialOutOfChannelUserWithPeriod": {
+ Message: "this is an message for @potential.user",
+ Expected: &ExplicitMentions{
+ OtherPotentialMentions: []string{"potential.user"},
+ },
+ },
"InlineCode": {
Message: "`this shouldn't mention @channel at all`",
Keywords: map[string][]string{},