mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-23 01:00:53 +08:00
libstdc++: Restored accidentally removed test case.
It was removed by accident r14-11523-gad1b71fc2882c1. libstdc++-v3/ChangeLog: * testsuite/std/format/functions/format.cc: Restored line. (cherry picked from commit 81c990aa84b22562157ce2926577b392b4a129d3)
This commit is contained in:
parent
ad1b71fc28
commit
83cd4bda12
@ -518,6 +518,7 @@ test_unicode()
|
||||
std::string sP = std::format("{:1.1} {:*<1.1}", "£", "🤡");
|
||||
VERIFY( sP == "£ *" );
|
||||
sP = std::format("{:*<2.1} {:*<2.1}", "£", "🤡");
|
||||
VERIFY( sP == "£* **" );
|
||||
|
||||
// Verify field width handling for extended grapheme clusters,
|
||||
// and that a cluster gets output as a single item, not truncated.
|
||||
|
Loading…
x
Reference in New Issue
Block a user