mirror of https://gitlab.com/bashrc2/epicyon
Line length
parent
18ac0231b4
commit
ad71c09aee
4
tests.py
4
tests.py
|
@ -1748,7 +1748,9 @@ def testWebLinks():
|
||||||
'#YetAnotherExcessivelyLongwindedAndBorin\ngHashtag</p>')
|
'#YetAnotherExcessivelyLongwindedAndBorin\ngHashtag</p>')
|
||||||
|
|
||||||
exampleText = \
|
exampleText = \
|
||||||
"<p>Don't remove a p2p link rad:git:hwd1yrerc3mcgn8ga9rho3dqi4w33nep7kxmqezss4topyfgmexihp33xcw</p>"
|
"<p>Don't remove a p2p link " + \
|
||||||
|
"rad:git:hwd1yrerc3mcgn8ga9rho3dqi4w33nep7kxmqezss4topyfgmexihp" + \
|
||||||
|
"33xcw</p>"
|
||||||
resultText = removeLongWords(addWebLinks(exampleText), 40, [])
|
resultText = removeLongWords(addWebLinks(exampleText), 40, [])
|
||||||
assert resultText == exampleText
|
assert resultText == exampleText
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue