aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Kamiński <tkaminsk@redhat.com>2025-04-03 14:56:49 +0200
committerTomasz Kamiński <tkaminsk@redhat.com>2025-04-03 14:58:57 +0200
commit81c990aa84b22562157ce2926577b392b4a129d3 (patch)
tree47a6e735c0f1b751115fbcb40c3d5efc389abd56
parent5c7f6272f43f4265dc08eac4ee91164672c1c441 (diff)
downloadgcc-81c990aa84b22562157ce2926577b392b4a129d3.zip
gcc-81c990aa84b22562157ce2926577b392b4a129d3.tar.gz
gcc-81c990aa84b22562157ce2926577b392b4a129d3.tar.bz2
libstdc++: Restored accidentally removed test case.
It was removed by accident r15-9178-g5c7f6272f43f42. libstdc++-v3/ChangeLog: * testsuite/std/format/functions/format.cc: Restored line.
-rw-r--r--libstdc++-v3/testsuite/std/format/functions/format.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/std/format/functions/format.cc b/libstdc++-v3/testsuite/std/format/functions/format.cc
index d8dbf46..000f267 100644
--- a/libstdc++-v3/testsuite/std/format/functions/format.cc
+++ b/libstdc++-v3/testsuite/std/format/functions/format.cc
@@ -522,6 +522,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.