mirror of https://gitlab.com/bashrc2/epicyon
Test for long hashtag
parent
2f2034d0ec
commit
0b70ee70d8
7
tests.py
7
tests.py
|
@ -1684,6 +1684,13 @@ def testWebLinks():
|
|||
'<p>filepopout=' + \
|
||||
'TemplateAttachmentRichPopout'
|
||||
|
||||
exampleText = \
|
||||
'<p>Test1 test2 #YetAnotherExcessivelyLongwindedAndBoringHashtag<\p>'
|
||||
resultText = removeLongWords(addWebLinks(exampleText), 40, [])
|
||||
assert(resultText ==
|
||||
'<p>Test1 test2 '
|
||||
'#YetAnotherExcessivelyLongwindedAndBorin\ngHashtag</p>')
|
||||
|
||||
|
||||
def testAddEmoji():
|
||||
print('testAddEmoji')
|
||||
|
|
Loading…
Reference in New Issue