mirror of
https://github.com/SFML/SFML.git
synced 2025-01-18 23:35:11 +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")
|
||||
{
|
||||
const sf::String string;
|
||||
CHECK(std::string(string) == ""s);
|
||||
CHECK(std::wstring(string) == L""s);
|
||||
CHECK(string.toAnsiString() == ""s);
|
||||
CHECK(string.toWideString() == L""s);
|
||||
CHECK(std::string(string).empty());
|
||||
CHECK(std::wstring(string).empty());
|
||||
CHECK(string.toAnsiString().empty());
|
||||
CHECK(string.toWideString().empty());
|
||||
CHECK(string.toUtf8().empty());
|
||||
CHECK(string.toUtf16().empty());
|
||||
CHECK(string.toUtf32().empty());
|
||||
|
Loading…
Reference in New Issue
Block a user