You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
It would be nice if UTF-16 strings were converted to UTF-8 strings automatically for when reporting failures. If you're working with UTF-16 strings frequently, it would make it easier and faster if I didn't have to prefix these failures with INFO lines that convert std::u16string to std::string to actually see what these string values actually were.
Additional context
Here is a sample test case that uses catch.hpp version 2.6.1. It requires C++11 or later to work.
Description
It would be nice if UTF-16 strings were converted to UTF-8 strings automatically for when reporting failures. If you're working with UTF-16 strings frequently, it would make it easier and faster if I didn't have to prefix these failures with INFO lines that convert std::u16string to std::string to actually see what these string values actually were.
Additional context
Here is a sample test case that uses catch.hpp version 2.6.1. It requires C++11 or later to work.
Here is the current output. I changed the path to ... for brevity.
Here is the desired output with the exact same code
The text was updated successfully, but these errors were encountered: