[libcxx-commits] [libcxx] [libc++][format] Handle range-underlying-spec (PR #81914)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sun Mar 3 07:15:00 PST 2024


================
@@ -157,7 +158,7 @@ void test_char_string(TestFunction check, ExceptionTest check_exception, auto&&
 
   check_exception("The format string contains an invalid escape sequence", SV("{:}<s}"), input);
   check_exception("The fill option contains an invalid value", SV("{:{<s}"), input);
-  check_exception("The fill option contains an invalid value", SV("{::<s}"), input);
+  check_exception("The type option contains an invalid value for a character formatting argument", SV("{::<s}"), input);
----------------
mordante wrote:

Sorry I wasn't clear, but I meant that for this one too.

https://github.com/llvm/llvm-project/pull/81914


More information about the libcxx-commits mailing list