mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Fix compile tests
This commit is contained in:
parent
7a41d61d79
commit
8e10d404db
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user