mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-17 11:12:25 +01:00
Changed encoding of MiscTests.cpp to utf-8
This commit is contained in:
parent
42d4e9f1b0
commit
8f7a9e98a8
@ -463,8 +463,8 @@ TEST_CASE( "XmlEncode" ) {
|
|||||||
SECTION( "string with control char (x7F)" ) {
|
SECTION( "string with control char (x7F)" ) {
|
||||||
REQUIRE( encode( "[\x7F]" ) == "[]" );
|
REQUIRE( encode( "[\x7F]" ) == "[]" );
|
||||||
}
|
}
|
||||||
SECTION( "string with utf-8 characters (ðóññêèé òåêñò)" ) {
|
SECTION( "string with utf-8 characters (русский текст)" ) {
|
||||||
REQUIRE( encode( "ðóññêèé òåêñò" ) == "ðóññêèé òåêñò" );
|
REQUIRE( encode( "русский текст" ) == "русский текст" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user