Add test for IdentifierUtils::RemoveIdentifierFreeText
This commit is contained in:
parent
6a0525254e
commit
2d11be9162
@ -89,6 +89,14 @@ TEST( IdentifierUtilsTest, RemoveIdentifierFreeTextWorks ) {
|
|||||||
"foo \n"
|
"foo \n"
|
||||||
"bar \n"
|
"bar \n"
|
||||||
"qux" );
|
"qux" );
|
||||||
|
EXPECT_STREQ( RemoveIdentifierFreeText(
|
||||||
|
"foo \n"
|
||||||
|
"bar \"foo\\\\\\\"ooo\"\n"
|
||||||
|
"qux \"baz\\\\\\\\\""
|
||||||
|
).c_str(),
|
||||||
|
"foo \n"
|
||||||
|
"bar \n"
|
||||||
|
"qux " );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user