]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Restored accidentally removed test case.
authorTomasz Kamiński <tkaminsk@redhat.com>
Thu, 3 Apr 2025 12:56:49 +0000 (14:56 +0200)
committerTomasz Kamiński <tkaminsk@redhat.com>
Thu, 3 Apr 2025 12:58:57 +0000 (14:58 +0200)
It was removed by accident r15-9178-g5c7f6272f43f42.

libstdc++-v3/ChangeLog:

* testsuite/std/format/functions/format.cc: Restored line.

libstdc++-v3/testsuite/std/format/functions/format.cc

index d8dbf4634133faff297f75bab601c7681e138c0a..000f2671816d0f613c8c48016de5f9a50829aefa 100644 (file)
@@ -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.