diff --git a/test/compile-error-test/CMakeLists.txt b/test/compile-error-test/CMakeLists.txt index 381bd0d4..9b2de8cb 100644 --- a/test/compile-error-test/CMakeLists.txt +++ b/test/compile-error-test/CMakeLists.txt @@ -210,34 +210,6 @@ if (CMAKE_CXX_STANDARD GREATER_EQUAL 20) #error #endif " ERROR) - - # Format string compilation tests - expect_compile(compiled-format-string-missing-argument-error " - #if defined(FMT_HAS_CONSTEVAL) && FMT_USE_NONTYPE_TEMPLATE_ARGS - using namespace fmt::literals; - fmt::format(FMT_COMPILE(\"{x}\")); - #else - #error - #endif - " ERROR) - - expect_compile(compiled-format-string-argument-unassigned-error " - #if defined(FMT_HAS_CONSTEVAL) && FMT_USE_NONTYPE_TEMPLATE_ARGS - using namespace fmt::literals; - fmt::format(FMT_COMPILE(\"{x}\"), \"x\"_a); - #else - #error - #endif - " ERROR) - - expect_compile(compiled-format-string-missing-other-argument-error " - #if defined(FMT_HAS_CONSTEVAL) && FMT_USE_NONTYPE_TEMPLATE_ARGS - using namespace fmt::literals; - fmt::format(FMT_COMPILE(\"{a} {b}\"), \"b\"_a=42); - #else - #error - #endif - " ERROR) endif () # Run all tests