diff --git a/test/compile-error-test/CMakeLists.txt b/test/compile-error-test/CMakeLists.txt index 8ac5dea2604f..5940601c7ab8 100644 --- a/test/compile-error-test/CMakeLists.txt +++ b/test/compile-error-test/CMakeLists.txt @@ -95,7 +95,6 @@ expect_compile(wide-string-narrow-format-string-error "fmt::format(\"{}\", L\"fo expect_compile(narrow-string-wide-format-string "fmt::format(L\"{}\", L\"foo\");" XCHAR) expect_compile(narrow-string-wide-format-string-error "fmt::format(L\"{}\", \"foo\");" ERROR XCHAR) -# Formatting a wide string with a narrow format string is forbidden. expect_compile(cast-to-string " struct S { operator std::string() const { return std::string(); }