mirror of
https://github.com/fmtlib/fmt.git
synced 2026-05-05 12:04:11 +02:00
Test FileSink. Simplify tests.
This commit is contained in:
+4
-1
@@ -39,4 +39,7 @@ expect_compile_error("fmt::Writer() << fmt::pad(\"abc\", 5, L' ');")
|
||||
expect_compile_error("fmt::Writer() << fmt::pad(42, 5, L' ');")
|
||||
|
||||
# Formatting a wide character with a narrow format string is forbidden.
|
||||
expect_compile_error("Format(\"{}\") << L'a';")
|
||||
expect_compile_error("fmt::Format(\"{}\") << L'a';")
|
||||
|
||||
# There is no implicit conversion from FILE* to FileSink.
|
||||
expect_compile_error("fmt::FileSink fs = 0;")
|
||||
|
||||
Reference in New Issue
Block a user