diagnostic/printer: Print newline at end of tests
Otherwise other test messages will continue from the same line as the pretty colors. Bug: tint:282 Change-Id: I14727b4faa7bbca490523cdd6941fa09dc6b514a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/31661 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
parent
f8bd106041
commit
06c892a6ec
|
@ -44,6 +44,7 @@ TEST_F(PrinterTest, WithColors) {
|
|||
printer->write("Magenta", Style{Color::kMagenta, false});
|
||||
printer->write("Cyan", Style{Color::kCyan, false});
|
||||
printer->write("White", Style{Color::kWhite, false});
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
TEST_F(PrinterTest, BoldWithColors) {
|
||||
|
@ -57,6 +58,7 @@ TEST_F(PrinterTest, BoldWithColors) {
|
|||
printer->write("Magenta", Style{Color::kMagenta, true});
|
||||
printer->write("Cyan", Style{Color::kCyan, true});
|
||||
printer->write("White", Style{Color::kWhite, true});
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
TEST_F(PrinterTest, WithoutColors) {
|
||||
|
@ -70,6 +72,7 @@ TEST_F(PrinterTest, WithoutColors) {
|
|||
printer->write("Magenta", Style{Color::kMagenta, false});
|
||||
printer->write("Cyan", Style{Color::kCyan, false});
|
||||
printer->write("White", Style{Color::kWhite, false});
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
TEST_F(PrinterTest, BoldWithoutColors) {
|
||||
|
@ -83,6 +86,7 @@ TEST_F(PrinterTest, BoldWithoutColors) {
|
|||
printer->write("Magenta", Style{Color::kMagenta, true});
|
||||
printer->write("Cyan", Style{Color::kCyan, true});
|
||||
printer->write("White", Style{Color::kWhite, true});
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Reference in New Issue