Make the example better describe the desired outcome (#14611)

This commit is contained in:
Max Grender-Jones 2020-06-09 02:49:07 +01:00 • committed by GitHub
commit cc3409e264
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,9 +110,9 @@ tnaetdriaoenvlcyfglwckßqfgvwkßqgfvlwkßqfgvlwckßqvlwkgfUIαοιαοιαχολ
# bug #14579 # bug #14579
const input60 = """ const input60 = """
This is a long string. It is manually wrapped to 60 This string is wrapped to 60 characters. If we call
characters. I would not expect it to be changed by wrapwords on it it will be re-wrapped to 80 characters.
wordwrap if wordwrap is set to wrap at 80 characters""" """
const input60Res = """This is a long string. It is manually wrapped to 60 characters. I would not const input60Res = """This string is wrapped to 60 characters. If we call wrapwords on it it will be
expect it to be changed by wordwrap if wordwrap is set to wrap at 80 characters""" re-wrapped to 80 characters."""
doAssert wrapWords(input60) == input60Res doAssert wrapWords(input60) == input60Res