[cpp-sp] branch main updated: Yet more test fixes.

Scott Cantor cantor.2 at osu.edu
Mon Oct 20 14:19:54 UTC 2025


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=763f9494490307514b29ce8ff9a4341467b18cb8

The following commit(s) were added to refs/heads/main by this push:
     new 763f9494 Yet more test fixes.
763f9494 is described below

commit 763f9494490307514b29ce8ff9a4341467b18cb8
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Oct 20 10:19:50 2025 -0400

    Yet more test fixes.
---
 tests/util/BoostPropertySetTests.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/util/BoostPropertySetTests.cpp b/tests/util/BoostPropertySetTests.cpp
index 7657ccb9..fc260670 100644
--- a/tests/util/BoostPropertySetTests.cpp
+++ b/tests/util/BoostPropertySetTests.cpp
@@ -116,24 +116,24 @@ BOOST_FIXTURE_TEST_CASE(BoostPropertySet_tree, BPS_Fixture)
     BOOST_CHECK_EQUAL(rootset.getString("foo"), "bar");
     BOOST_CHECK_EQUAL(rootset.getString("zork"), "frobnitz");
     BOOST_CHECK(!rootset.getString(BoostPropertySet::XMLATTR_NODE_NAME));
-    BOOST_CHECK_EQUAL(rootset.getString("one"), nullptr);
+    BOOST_CHECK(!rootset.getString("one"));
 
     BOOST_CHECK_EQUAL(ones[0]->getString("foo"), "baz");
     BOOST_CHECK_EQUAL(ones[0]->getString("zork"), "frobnitz");
     BOOST_CHECK(!ones[0]->getString(BoostPropertySet::XMLATTR_NODE_NAME));
-    BOOST_CHECK_EQUAL(ones[0]->getString("two"), nullptr);
+    BOOST_CHECK(!ones[0]->getString("two"));
 
     BOOST_CHECK_EQUAL(ones[1]->getString("foo", "zork"), "zork");
-    BOOST_CHECK_EQUAL(ones[1]->getString("zork"), nullptr);
+    BOOST_CHECK(!ones[1]->getString("zork"));
     BOOST_CHECK(!ones[1]->getString(BoostPropertySet::XMLATTR_NODE_NAME));
-    BOOST_CHECK_EQUAL(ones[1]->getString("two"), nullptr);
+    BOOST_CHECK(!ones[1]->getString("two"));
 
     BOOST_CHECK_EQUAL(twos[0]->getString("foo"), "baz");
     BOOST_CHECK_EQUAL(twos[0]->getString("zork"), "frobnitz");
     BOOST_CHECK(!twos[0]->getString(BoostPropertySet::XMLATTR_NODE_NAME));
 
     BOOST_CHECK_EQUAL(twos[1]->getString("unset"), "foo zork");
-    BOOST_CHECK_EQUAL(twos[1]->getString("foo"), nullptr);
+    BOOST_CHECK(!twos[1]->getString("foo"));
     BOOST_CHECK_EQUAL(twos[1]->getString("zork"), "zorkmid");
     BOOST_CHECK(!twos[1]->getString(BoostPropertySet::XMLATTR_NODE_NAME));
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list