Skip to content

Commit

Permalink
Fix load_texture2D inconsistent test suite naming
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkewley committed Nov 14, 2024
1 parent 715d665 commit 4b8e43a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testoscar/Formats/TestImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ TEST(load_texture2d_from_image, is_compatible_with_write_to_png)
ASSERT_TRUE(out.was_written_to());
}

TEST(load_texture2d_from_image, can_load_image_from_ResourceStream)
TEST(load_texture2D_from_image, can_load_image_from_ResourceStream)
{
const auto path = std::filesystem::path{OSC_TESTING_RESOURCES_DIR} / "awesomeface.png";
const Texture2D loaded_texture = load_texture2D_from_image(
Expand All @@ -50,7 +50,7 @@ TEST(load_texture2d_from_image, can_load_image_from_ResourceStream)
ASSERT_EQ(loaded_texture.dimensions(), Vec2i(512, 512));
}

TEST(load_texture2d_from_image, throws_when_called_with_an_invalid_path)
TEST(load_texture2D_from_image, throws_when_called_with_an_invalid_path)
{
ASSERT_ANY_THROW(
{
Expand Down

0 comments on commit 4b8e43a

Please sign in to comment.