]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Backport some std::format test improvements
authorJonathan Wakely <jwakely@redhat.com>
Tue, 12 Dec 2023 20:53:08 +0000 (20:53 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 13 Dec 2023 09:36:44 +0000 (09:36 +0000)
commit3b23038aed019734569ca7d27b3e2c89d0dd0a9a
tree4cc2ffbb531ef5be92138562aa7a76c69e785158
parent1a0aafdc2cf94c53e6451ac76fbc875cb56408df
libstdc++: Backport some std::format test improvements

This backports just the tests from r14-6469-g52de6aa1a85822 because the
regression wasn't present on this branch, but we can still use the
tests.

libstdc++-v3/ChangeLog:

* testsuite/std/format/functions/format.cc: Check for expected
output for char and bool arguments.
* testsuite/std/format/string.cc: Check that 0 filling is
rejected for character and string formats.

(cherry picked from commit 52de6aa1a8582208b519b6998389d3a801b0de7b)
libstdc++-v3/testsuite/std/format/functions/format.cc
libstdc++-v3/testsuite/std/format/string.cc