Fix test section names

This commit is contained in:
Chris Thrasher 2024-09-04 16:26:29 -06:00
parent 0455e581a6
commit e12e8e73d4
No known key found for this signature in database
GPG Key ID: 56FB686C9DFC8E2C

View File

@ -51,7 +51,7 @@ TEST_CASE("[Window] sf::Cursor", runDisplayTests())
} }
} }
SECTION("loadFromPixels()") SECTION("createFromPixels()")
{ {
static constexpr std::array<std::uint8_t, 4> pixels{}; static constexpr std::array<std::uint8_t, 4> pixels{};
@ -61,7 +61,7 @@ TEST_CASE("[Window] sf::Cursor", runDisplayTests())
CHECK(sf::Cursor::createFromPixels(pixels.data(), {1, 1}, {})); CHECK(sf::Cursor::createFromPixels(pixels.data(), {1, 1}, {}));
} }
SECTION("loadFromSystem()") SECTION("createFromSystem()")
{ {
CHECK(sf::Cursor::createFromSystem(sf::Cursor::Type::Hand)); CHECK(sf::Cursor::createFromSystem(sf::Cursor::Type::Hand));
CHECK(sf::Cursor::createFromSystem(sf::Cursor::Type::SizeHorizontal)); CHECK(sf::Cursor::createFromSystem(sf::Cursor::Type::SizeHorizontal));