]> 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 13:03:54 +0000 (15:03 +0200)
It was removed by accident r14-11523-gad1b71fc2882c1.

libstdc++-v3/ChangeLog:

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

(cherry picked from commit 81c990aa84b22562157ce2926577b392b4a129d3)

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

index 97eb0957e5e191368cca668db085e5b95d77e508..78010e159d366f3344790e33cd947ddaaca3335f 100644 (file)
@@ -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.