mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 06:21:00 +00:00
Update compile-test
This commit is contained in:
parent
8f1e5df672
commit
8a915b9b8d
@ -31,9 +31,9 @@ expect_compile_error("fmt::internal::MakeArg<char>(L'a');")
|
|||||||
expect_compile_error("fmt::internal::MakeArg<char>(L\"test\");")
|
expect_compile_error("fmt::internal::MakeArg<char>(L\"test\");")
|
||||||
|
|
||||||
# Writing a wide character to a character stream Writer is forbidden.
|
# Writing a wide character to a character stream Writer is forbidden.
|
||||||
expect_compile_error("fmt::Writer() << L'a';")
|
expect_compile_error("fmt::MemoryWriter() << L'a';")
|
||||||
expect_compile_error("fmt::Writer() << fmt::pad(\"abc\", 5, L' ');")
|
expect_compile_error("fmt::MemoryWriter() << fmt::pad(\"abc\", 5, L' ');")
|
||||||
expect_compile_error("fmt::Writer() << fmt::pad(42, 5, L' ');")
|
expect_compile_error("fmt::MemoryWriter() << fmt::pad(42, 5, L' ');")
|
||||||
|
|
||||||
# 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';")
|
||||||
|
Loading…
Reference in New Issue
Block a user