summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tests.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tests.cc b/test/tests.cc
index 90b31cb..fc16031 100644
--- a/test/tests.cc
+++ b/test/tests.cc
@@ -73,4 +73,5 @@ BOOST_AUTO_TEST_CASE (test)
BOOST_CHECK_EQUAL (document.node_children("H/I").back()->content(), "more testing");
BOOST_CHECK_EQUAL (document.string_child("J/K"), "jim");
+ BOOST_CHECK (!document.optional_bool_child("G"));
}