summaryrefslogtreecommitdiff
path: root/exempi/tests/testparse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'exempi/tests/testparse.cpp')
-rw-r--r--exempi/tests/testparse.cpp3
1 files changed, 1 insertions, 2 deletions
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);