mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-24 21:49:24 +00:00
Fixed up xml reporter and rebased
This commit is contained in:
parent
3e0c501812
commit
6817bb099d
7 changed files with 73 additions and 27 deletions
|
@ -374,6 +374,11 @@ TEST_CASE( "replaceInPlace", "" ) {
|
|||
CHECK_FALSE( replaceInPlace( letters, "x", "z" ) );
|
||||
CHECK( letters == letters );
|
||||
}
|
||||
SECTION( "escape '" ) {
|
||||
std::string s = "didn't";
|
||||
CHECK( replaceInPlace( s, "'", "|'" ) );
|
||||
CHECK( s == "didn|'t" );
|
||||
}
|
||||
}
|
||||
|
||||
// !TBD: This will be folded into Text class
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue