mirror of
https://github.com/SFML/SFML.git
synced 2025-01-31 13:45:13 +08:00
Fix clang-tidy readability-container-size-empty
warnings
This commit is contained in:
parent
10d8f5bf1e
commit
1e4aed8700
@ -75,10 +75,10 @@ TEST_CASE("[System] sf::String")
|
|||||||
SECTION("Default constructor")
|
SECTION("Default constructor")
|
||||||
{
|
{
|
||||||
const sf::String string;
|
const sf::String string;
|
||||||
CHECK(std::string(string) == ""s);
|
CHECK(std::string(string).empty());
|
||||||
CHECK(std::wstring(string) == L""s);
|
CHECK(std::wstring(string).empty());
|
||||||
CHECK(string.toAnsiString() == ""s);
|
CHECK(string.toAnsiString().empty());
|
||||||
CHECK(string.toWideString() == L""s);
|
CHECK(string.toWideString().empty());
|
||||||
CHECK(string.toUtf8().empty());
|
CHECK(string.toUtf8().empty());
|
||||||
CHECK(string.toUtf16().empty());
|
CHECK(string.toUtf16().empty());
|
||||||
CHECK(string.toUtf32().empty());
|
CHECK(string.toUtf32().empty());
|
||||||
|
Loading…
Reference in New Issue
Block a user