aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Danic <mario@lovelyhq.com>2018-06-08 17:21:46 +0200
committerMario Danic <mario@lovelyhq.com>2018-06-08 17:21:46 +0200
commitd959ca8eb07b284a18bcfe6eee58a42b90e7e785 (patch)
tree11b1d61fab36382d5435f373cef25d877e059e92
parent5acdd45b771171c888c1411d5b53c2f1dc6cefdf (diff)
downloadnextcloud-server-d959ca8eb07b284a18bcfe6eee58a42b90e7e785.tar.gz
nextcloud-server-d959ca8eb07b284a18bcfe6eee58a42b90e7e785.zip
Add another test
Signed-off-by: Mario Danic <mario@lovelyhq.com>
-rw-r--r--tests/lib/Comments/CommentTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/Comments/CommentTest.php b/tests/lib/Comments/CommentTest.php
index fd76f443dfd..15dd9120e44 100644
--- a/tests/lib/Comments/CommentTest.php
+++ b/tests/lib/Comments/CommentTest.php
@@ -148,8 +148,10 @@ class CommentTest extends TestCase {
' however the most important thing to know is that www.croissant.com/@oil is not valid' .
' and won\'t match anything at all',
['foobar', 'barfoo', 'foo@bar.com', 'bar@foo.org@foobar.io', '23452-4333-54353-2342', 'yolo']
+ ],
+ [
+ '@@chef is also a valid mention, no matter how strange it looks', ['@chef']
]
-
];
}