Skip to content

Commit

Permalink
Fix suppression of failing UTF-8 conversion test when using GCC 14
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Jun 28, 2024
1 parent c659842 commit 8d884bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/test_stringutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ TEST_CASE( "util: Narrowing wide string to std::string", "[stringutil][narrow]"
}

// TODO: Fix UTF-8 conversions on latest versions of libstdc++
#if !defined( _LIBCPP_VERSION ) && ( !defined( __GLIBCXX__ ) || __GLIBCXX__ < 20240521 )
#if !defined( _LIBCPP_VERSION ) && ( !defined( _GLIBCXX_RELEASE ) || _GLIBCXX_RELEASE < 14 )
SECTION( "Converting wide strings with unencodable UTF-8 chars" ) {
std::wstring testInput = L"\xDC80";
std::string testOutput = narrow( testInput.c_str(), testInput.size() );
Expand Down

0 comments on commit 8d884bb

Please sign in to comment.