X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/c53b3ad8fa62eb124d017a23bdff5a2bfa9890af..6380b9f2f6e53748360a120ed9acb874a35885e0:/tests/data/long_strings__edge_case.py diff --git a/tests/data/long_strings__edge_case.py b/tests/data/long_strings__edge_case.py index 07c2753..2bc0b6e 100644 --- a/tests/data/long_strings__edge_case.py +++ b/tests/data/long_strings__edge_case.py @@ -32,6 +32,9 @@ return f'{x}/b/c/d/d/d/dadfjsadjsaidoaisjdsfjaofjdfijaidfjaodfjaoifjodjafojdoaja assert str(result) == "This long string should be split at some point right close to or around hereeeeeee" assert str(result) < "This long string should be split at some point right close to or around hereeeeee" assert "A format string: %s" % "This long string should be split at some point right close to or around hereeeeeee" != result +msg += "This long string should be wrapped in parens at some point right around hereeeee" +msg += "This long string should be split at some point right close to or around hereeeeeeee" +msg += "This long string should not be split at any point ever since it is just righttt" # output @@ -127,3 +130,11 @@ assert ( " hereeeeeee" != result ) +msg += ( + "This long string should be wrapped in parens at some point right around hereeeee" +) +msg += ( + "This long string should be split at some point right close to or around" + " hereeeeeeee" +) +msg += "This long string should not be split at any point ever since it is just righttt"