Fixing regression test id_2857454
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@103 a809a056-fc17-0410-9590-b4f493f8b08e
This commit is contained in:
parent
da0c8b96d9
commit
ba4b4c1e83
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ void id_2857454()
|
|||
{
|
||||
utf8::utf16to8(lead_surrogate_last, lead_surrogate_last + 2, back_inserter(utf8_result));
|
||||
// should throw in the previous line and never get here
|
||||
check(false);
|
||||
}
|
||||
catch(utf8::invalid_utf16&)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue