Test FileSink. Simplify tests.
This commit is contained in:
1 parent
48be5c22a2
commit
063d0077b3
3 files changed
+33
-26
No files matched your search
+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