From 8a915b9b8d89b0201df2daa3b8c1402af36bd305 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 1 Mar 2015 14:13:45 -0800 Subject: [PATCH] Update compile-test --- test/compile-test/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/compile-test/CMakeLists.txt b/test/compile-test/CMakeLists.txt index 5fcbb1f1..9b7e16e2 100644 --- a/test/compile-test/CMakeLists.txt +++ b/test/compile-test/CMakeLists.txt @@ -31,9 +31,9 @@ expect_compile_error("fmt::internal::MakeArg(L'a');") expect_compile_error("fmt::internal::MakeArg(L\"test\");") # Writing a wide character to a character stream Writer is forbidden. -expect_compile_error("fmt::Writer() << L'a';") -expect_compile_error("fmt::Writer() << fmt::pad(\"abc\", 5, L' ');") -expect_compile_error("fmt::Writer() << fmt::pad(42, 5, L' ');") +expect_compile_error("fmt::MemoryWriter() << L'a';") +expect_compile_error("fmt::MemoryWriter() << fmt::pad(\"abc\", 5, L' ');") +expect_compile_error("fmt::MemoryWriter() << fmt::pad(42, 5, L' ');") # Formatting a wide character with a narrow format string is forbidden. expect_compile_error("fmt::format(\"{}\", L'a';")