From fb7c7337a9a6482ee50409efee0e1b57396f0980 Mon Sep 17 00:00:00 2001 From: ntrifunovic Date: Mon, 12 Oct 2009 22:54:15 +0000 Subject: [PATCH] Fixing regression test id_2857454 git-svn-id: http://svn.code.sf.net/p/utfcpp/code@103 a809a056-fc17-0410-9590-b4f493f8b08e --- test_drivers/regression_tests/r2_2_2/basic_functionality.h | 1 + 1 file changed, 1 insertion(+) diff --git a/test_drivers/regression_tests/r2_2_2/basic_functionality.h b/test_drivers/regression_tests/r2_2_2/basic_functionality.h index 961e36a..945cd08 100755 --- a/test_drivers/regression_tests/r2_2_2/basic_functionality.h +++ b/test_drivers/regression_tests/r2_2_2/basic_functionality.h @@ -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&) {