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
cb757aff4f
commit
fb7c7337a9
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