mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
fix testcase "Test unicode matches C++"
This commit is contained in:
parent
82ef037912
commit
55ec76fd39
@ -155,7 +155,7 @@ if(MSVC)
|
||||
add_definitions(/w34062)
|
||||
endif()
|
||||
|
||||
add_definitions(/bigobj /permissive-)
|
||||
add_definitions(/bigobj /permissive- /utf-8)
|
||||
# Note on MSVC compiler flags.
|
||||
# The code base selective disables warnings as necessary when the compiler is complaining too much
|
||||
# about something that is perfectly valid, or there is simply no technical way around it
|
||||
|
||||
@ -1341,6 +1341,8 @@ TEST_CASE("Test reference member being registered")
|
||||
CHECK(d == Approx(2.3));
|
||||
}
|
||||
|
||||
// starting with C++20 u8"" strings cannot be compared with std::string
|
||||
// and the support for std::u8strings is still terrible.
|
||||
TEST_CASE("Test unicode matches C++")
|
||||
{
|
||||
chaiscript::ChaiScript_Basic chai(create_chaiscript_stdlib(), create_chaiscript_parser());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user