X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a4e35b314977baae2e930abd24fa1013c7235e39..b4a6bb08fa704facbf3397f95b3216e13c3c964a:/tests/data/long_strings__edge_case.py?ds=inline 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"