aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/game/Hyperlinks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/game/Hyperlinks.cpp b/tests/game/Hyperlinks.cpp
index 47031adbaba..f95d5834713 100644
--- a/tests/game/Hyperlinks.cpp
+++ b/tests/game/Hyperlinks.cpp
@@ -36,9 +36,9 @@ TEST_CASE("Basic link structure", "[Hyperlinks]")
REQUIRE(info.color.g == 0xef);
REQUIRE(info.color.b == 0x01);
REQUIRE(info.tag == "Tag");
- REQUIRE(info.data == "");
+ REQUIRE(info.data.empty());
REQUIRE(info.text == "text");
- REQUIRE(info.tail == "");
+ REQUIRE(info.tail.empty());
}
SECTION("Link with data")
{