af2de233e5
test.py's output is truncated to a certain length to avoid tests flooding the terminal. However, the way it's implemented it likely cuts off a line of output at an arbitrary point, and then prints its own message to let the user know the truncation happened. This ultimately means that said message will often be hard to spot as it flows together with the output. This change makes sure there is always a newline at the end of the output, ensuring the message will be on its own line. TEST=Manual testing locally. Change-Id: I91146ce7ce3d4fb0a35465a77aaf783df2acf4b7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/241742 Reviewed-by: William Hesse <whesse@google.com> Commit-Queue: Clement Skau <cskau@google.com>