testStrMatch() portability

This commit is contained in:
Michael Davidsaver
2021-08-30 12:09:55 -07:00
parent 2f122da5c2
commit 3382b35975
3 changed files with 37 additions and 5 deletions
+3 -1
View File
@@ -200,13 +200,15 @@ void testTestEq()
testStrNotEq("hello", std::string("world"));
testStrNotEq(std::string("hello"), "world");
testStrNotEq(std::string("hello"), std::string("world"));
testStrMatch("[Hh]ello [Ww]orld", "hello world");
}
} // namespace
MAIN(testutil)
{
testPlan(24);
testPlan(25);
testTrue(version_abi_check())<<" 0x"<<std::hex<<PVXS_VERSION<<" ~= 0x"<<std::hex<<PVXS_ABI_VERSION;
testServerGUID();
testFill();