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:
ntrifunovic 2009-10-12 22:54:15 +00:00
parent da0c8b96d9
commit ba4b4c1e83

View file

@ -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&)
{