Line length

main
Bob Mottram 2020-12-06 14:47:06 +00:00
parent 18ac0231b4
commit ad71c09aee
1 changed files with 3 additions and 1 deletions

View File

@ -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