summaryrefslogtreecommitdiff
path: root/src/unittests/utils/itemxmlutils.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-04 23:43:13 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-04 23:43:13 +0300
commit55c9a94d904bb7fb6351f55e652ad241c079cf96 (patch)
treee8d6f2022d676a2fd2c5a8f6ba06284edf0f34ff /src/unittests/utils/itemxmlutils.cc
parent2720db6cec1e79e3c59a9dcf6a2ae93bfb5c8828 (diff)
downloadmanaplus-55c9a94d904bb7fb6351f55e652ad241c079cf96.tar.gz
manaplus-55c9a94d904bb7fb6351f55e652ad241c079cf96.tar.bz2
manaplus-55c9a94d904bb7fb6351f55e652ad241c079cf96.tar.xz
manaplus-55c9a94d904bb7fb6351f55e652ad241c079cf96.zip
Fix style issue in itemxmlutils.cc
Diffstat (limited to 'src/unittests/utils/itemxmlutils.cc')
-rw-r--r--src/unittests/utils/itemxmlutils.cc4
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")