mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-18 07:33:57 +00:00
Tests terminal space in mentions string
This commit is contained in:
parent
2411b4fe79
commit
9f2ca73a58
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ class TemplateTags(TestCase):
|
||||||
status = models.Status.objects.create(
|
status = models.Status.objects.create(
|
||||||
content='hi', user=self.remote_user)
|
content='hi', user=self.remote_user)
|
||||||
result = bookwyrm_tags.get_mentions(status, self.user)
|
result = bookwyrm_tags.get_mentions(status, self.user)
|
||||||
self.assertEqual(result, '@rat@example.com')
|
self.assertEqual(result, '@rat@example.com ')
|
||||||
|
|
||||||
|
|
||||||
def test_get_status_preview_name(self):
|
def test_get_status_preview_name(self):
|
||||||
|
|
Loading…
Reference in a new issue