From 9ce4d3f8c72db22302cd20a0840631fb8df90d7c Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 25 Jan 2026 21:51:10 -0600 Subject: [PATCH] [keel,nostalgia/gfx] Minor cleanup of tests --- src/nostalgia/modules/gfx/test/CMakeLists.txt | 2 +- src/nostalgia/modules/gfx/test/tests.cpp | 2 +- src/olympic/keel/test/tests.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nostalgia/modules/gfx/test/CMakeLists.txt b/src/nostalgia/modules/gfx/test/CMakeLists.txt index bfcaf5d0..66b08778 100644 --- a/src/nostalgia/modules/gfx/test/CMakeLists.txt +++ b/src/nostalgia/modules/gfx/test/CMakeLists.txt @@ -8,4 +8,4 @@ target_link_libraries( NostalgiaGfx ) -add_test("[NostalgiaGfx] readWriteTileSheet" ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/NostalgiaGfxTest readWriteTileSheet) +add_test("[nostalgia/gfx] readWriteTileSheet" ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/NostalgiaGfxTest readWriteTileSheet) diff --git a/src/nostalgia/modules/gfx/test/tests.cpp b/src/nostalgia/modules/gfx/test/tests.cpp index cb3f0185..1f3d30cd 100644 --- a/src/nostalgia/modules/gfx/test/tests.cpp +++ b/src/nostalgia/modules/gfx/test/tests.cpp @@ -18,7 +18,7 @@ static std::map tests = { gfx::TileSheet const in; OX_REQUIRE(buff, ox::writeMC(in)); OX_REQUIRE(out, ox::readMC(buff)); - oxAssert(in.subsheet.name == out.subsheet.name, "subsheet.name serialization broken"); + ox::expect(in.subsheet.name, out.subsheet.name); return {}; } }, diff --git a/src/olympic/keel/test/tests.cpp b/src/olympic/keel/test/tests.cpp index 52dfc7c6..deeb57b3 100644 --- a/src/olympic/keel/test/tests.cpp +++ b/src/olympic/keel/test/tests.cpp @@ -19,7 +19,7 @@ static std::map tests = { ox::Array buff; ox::CharBuffWriter bw(buff); OX_RETURN_ERROR(keel::writeUuidHeader(bw, uuid)); - oxExpect(ox::StringView(buff.data(), buff.size()), hdr); + ox::expect(ox::StringView(buff.data(), buff.size()), hdr); return {}; } },