diff options
-rw-r--r-- | compat/assert.hpp | 4 | ||||
-rw-r--r-- | test/wall-atlas.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/compat/assert.hpp b/compat/assert.hpp index 683b9e72..73e1d376 100644 --- a/compat/assert.hpp +++ b/compat/assert.hpp @@ -92,11 +92,11 @@ { \ if (a != b) [[unlikely]] \ { \ - DBG_nospace << Debug::color(Debug::Color::Red) \ + DBG_nospace << Debug::color(Debug::Color::Magenta) \ << "fatal:" \ << Debug::resetColor << " " \ << "Equality assertion failed at " \ - << __FILE__ << ":" << __LINE__ << ":"; \ + << __FILE__ << ":" << __LINE__; \ DBG_nospace << #__VA_ARGS__; \ DBG_nospace << " expected: " << a; \ DBG_nospace << " actual: " << b; \ diff --git a/test/wall-atlas.cpp b/test/wall-atlas.cpp index 2c65a0e5..5f0a1a2c 100644 --- a/test/wall-atlas.cpp +++ b/test/wall-atlas.cpp @@ -110,7 +110,7 @@ void test_expected_size() fm_assert_equal(Vector2i{42, 192}, wall_atlas::expected_size(42, Tag::side)); fm_assert_equal(Vector2i{32, 192}, wall_atlas::expected_size(42, Tag::corner_L)); fm_assert_equal(Vector2i{32, 192}, wall_atlas::expected_size(42, Tag::corner_R)); - // swapped in atlas.json during reading and writing, rotated in atlas image file + // swapped in atlas.json during reading and writing, rotated counter-clockwise in atlas image file fm_assert_equal(Vector2i{42, 192}, wall_atlas::expected_size(42, Tag::top)); } |