diff options
Diffstat (limited to 'src/unittests/utils/itemxmlutils.cc')
-rw-r--r-- | src/unittests/utils/itemxmlutils.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unittests/utils/itemxmlutils.cc b/src/unittests/utils/itemxmlutils.cc index 84512b5be..82cb5e25f 100644 --- a/src/unittests/utils/itemxmlutils.cc +++ b/src/unittests/utils/itemxmlutils.cc @@ -114,14 +114,14 @@ TEST_CASE("itemxmlutils readItemStatsString 1", "") { XmlNodePtr node = XML::findFirstChildByName(root, "empty1"); readItemStatsString(effect, node, fields); - REQUIRE(effect == ""); + REQUIRE(effect.empty()); } SECTION("empty2") { XmlNodePtr node = XML::findFirstChildByName(root, "empty2"); readItemStatsString(effect, node, fields); - REQUIRE(effect == ""); + REQUIRE(effect.empty()); } SECTION("test1") |