-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Incorrect line wrapping when test case name is consisted by non-ascii characters #1022
Copy link
Copy link
Closed
Labels
Description
Description
This is an enhancement request.
I want to use UTF-8 non-ascii characters as test case name,
but Catch reporting system is seems not to support them on line wrapping.
Here is output when bug reproducts.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main is a Catch v1.10.0 host application.
Run with -? for options
-------------------------------------------------------------------------------
_「ではみなさんは、そういうふうに川だと言われたり、�-
�の流れたあとだと言われたりしていた、このぼんやりと�-
�いものがほんとうは何かご承知ですか」
-------------------------------------------------------------------------------
main.cpp:4
...............................................................................
main.cpp:5: FAILED:
REQUIRE( 0 )
===============================================================================
test cases: 1 | 1 failed
assertions: 1 | 1 failed
Steps to reproduce
Here is a minimum program to reproduce.
"_" at heading of test case name is needed to reproduce.
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "catch.hpp"
TEST_CASE( "_「ではみなさんは、そういうふうに川だと言われたり、乳の流れたあとだと言われたりしていた、このぼんやりと白いものがほんとうは何かご承知ですか」" ) {
REQUIRE( 0 );
}Extra information
- Catch version: v1.10.0
- Operating System: CentOS 7
- Compiler+version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
Reactions are currently unavailable