Fix compile tests

This commit is contained in:
Victor Zverovich 2018-03-27 07:39:03 -10:00
parent 7a41d61d79
commit 8e10d404db

View File

@ -48,10 +48,10 @@ endfunction ()
expect_compile("") expect_compile("")
# Formatting a wide character with a narrow format string is forbidden. # Formatting a wide character with a narrow format string is forbidden.
expect_compile_error("fmt::format(\"{}\", L'a';") expect_compile_error("fmt::format(\"{}\", L'a');")
# Formatting a wide string with a narrow format string is forbidden. # Formatting a wide string with a narrow format string is forbidden.
expect_compile_error("fmt::format(\"{}\", L\"foo\";") expect_compile_error("fmt::format(\"{}\", L\"foo\");")
# Make sure that compiler features detected in the header # Make sure that compiler features detected in the header
# match the features detected in CMake. # match the features detected in CMake.