From 49bac10e1b823b50da29860944b8fae30bf05711 Mon Sep 17 00:00:00 2001 From: Hubert Figuière Date: Sun, 22 Jan 2017 15:44:00 -0500 Subject: 2.4.x: Bug 99494 - Restore error propagation Register a global Error callback that will make error being thrown --- exempi/tests/testparse.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'exempi/tests/testparse.cpp') diff --git a/exempi/tests/testparse.cpp b/exempi/tests/testparse.cpp index c979a89..f3a42df 100644 --- a/exempi/tests/testparse.cpp +++ b/exempi/tests/testparse.cpp @@ -62,8 +62,7 @@ int test_main(int argc, char *argv[]) XmpPtr xmp = xmp_new_empty(); - // TODO current xmp_parse will succeed with invalid XML - BOOST_CHECK(xmp_parse(xmp, buffer, len)); + BOOST_CHECK(!xmp_parse(xmp, buffer, len)); BOOST_CHECK(xmp != NULL); -- cgit v1.2.3