[libcxx-commits] [libcxx] [libc++][format] P3142R0: Printing Blank Lines with `println` (PR #87277)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Apr 5 08:57:26 PDT 2024
================
@@ -95,6 +96,16 @@ test(std::stringstream& stream, std::string expected, test_format_string<char, A
TEST_WRITE_CONCATENATED(
"\nFormat string ", fmt.get(), "\nExpected output ", expected, "\nActual output ", out, '\n'));
}
+ // *** println blank line***
+ {
+ expected = "\n";
+ stream.str("");
+ ;
----------------
mordante wrote:
```suggestion
```
Can you also fix this on line 71 and 81?
https://github.com/llvm/llvm-project/pull/87277
More information about the libcxx-commits
mailing list