From 088f3cc5d2f200c27d76c23c480153f1b93f8230 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 29 Sep 2013 09:28:23 +0100 Subject: Revert 3b6dd4db. --- test/tests.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'test/tests.cc') 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")); } -- cgit v1.2.3