[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 05:20:18 PST 2024


================
@@ -156,7 +157,7 @@ void test_char_string(TestFunction check, [[maybe_unused]] ExceptionTest check_e
 
   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:

Can you move this test to the "type" testing part (line 181 in the original code).

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


More information about the libcxx-commits mailing list