Add a few more MARKUP_PARSER test cases.

This commit is contained in:
Jeff Young 2023-01-08 23:33:36 +00:00
parent e7e151c46c
commit e9a21130a8
1 changed files with 11 additions and 0 deletions

View File

@ -91,6 +91,17 @@ BOOST_AUTO_TEST_CASE( Parse )
"A string ~{overbar}",
" { {'A string '} {OVER {'overbar'} } } "
},
{
"A string ~{incomplete markup",
" { {'A string ~{incomplete markup'} } "
},
{
"A string ~{overbar} ~{incomplete markup",
" { {'A string '} {OVER {'overbar'} } {' ~{incomplete markup'} } "
},
{ "A string ~{incomplete markup ~{overbar}",
" { {'A string ~{incomplete markup '} {OVER {'overbar'} } } "
}
};
for( auto& c : cases )