diff options
author | Treeston <treeston.mmoc@gmail.com> | 2020-09-06 22:08:19 +0200 |
---|---|---|
committer | Treeston <treeston.mmoc@gmail.com> | 2020-09-06 22:08:19 +0200 |
commit | 67b112f8a4862a521daf96b2f738db81a649e79d (patch) | |
tree | 1b7df5a53411cccef19eae4924981da350146340 /tests/game/Hyperlinks.cpp | |
parent | ce3272f54f86b7f8d9b9798ad01ca67fa99d6c1d (diff) |
Revert "Tests: Use .empty() to test for empty string instead of == """
This reverts commit 697fb48747ae2fd26a99ae061d3e2fcd8e75502b.
Diffstat (limited to 'tests/game/Hyperlinks.cpp')
-rw-r--r-- | tests/game/Hyperlinks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/game/Hyperlinks.cpp b/tests/game/Hyperlinks.cpp index f95d5834713..47031adbaba 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.empty()); + REQUIRE(info.data == ""); REQUIRE(info.text == "text"); - REQUIRE(info.tail.empty()); + REQUIRE(info.tail == ""); } SECTION("Link with data") { |