mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Tests: Use .empty() to test for empty string instead of == ""
This commit is contained in:
@@ -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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user