From 2e9512c6b8b5581c317ac26e50e95158cf321885 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Fri, 2 Mar 2018 08:54:27 -0700 Subject: [PATCH] Adjust unicode tests for MSVC --- unittests/compiled_tests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unittests/compiled_tests.cpp b/unittests/compiled_tests.cpp index e7d1685e..660753d7 100644 --- a/unittests/compiled_tests.cpp +++ b/unittests/compiled_tests.cpp @@ -4,7 +4,7 @@ #ifdef _MSC_VER #pragma warning(push) -#pragma warning(disable : 4062 4242 4640 4702 6330 28251) +#pragma warning(disable : 4062 4242 4566 4640 4702 6330 28251) #endif @@ -1273,8 +1273,8 @@ TEST_CASE("Test unicode matches C++") { chaiscript::ChaiScript_Basic chai(create_chaiscript_stdlib(),create_chaiscript_parser()); CHECK(u8"\U000000AC" == chai.eval(R"("\U000000AC")")); - CHECK(u8"\xF0\x9F\x8D\x8C" == chai.eval(R"("\xF0\x9F\x8D\x8C")")); - CHECK(u8"\U0001F34C" == chai.eval(R"("\U0001F34C")")); + CHECK("\xF0\x9F\x8D\x8C" == chai.eval(R"("\xF0\x9F\x8D\x8C")")); + CHECK("\U0001F34C" == chai.eval(R"("\U0001F34C")")); CHECK(u8"\u2022" == chai.eval(R"("\u2022")")); }