[libcxx-commits] [libcxx] [libc++][format] P3142R0: Printing Blank Lines with `println` (PR #87277)
Hristo Hristov via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Apr 5 10:24:38 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("");
+ ;
----------------
Zingam wrote:
Sure!
https://github.com/llvm/llvm-project/pull/87277
More information about the libcxx-commits
mailing list