summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-11-23 07:39:21 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-11-23 07:39:24 +0100
commitf3468efd271b6a943d201886ca30bfc81b16670c (patch)
tree9c939bac30153321ca23ba0d3e59b0da9e571860
parent8ea6924dda8d452bd870302a2c4e96f437ee5443 (diff)
b
-rw-r--r--compat/assert.hpp4
-rw-r--r--test/wall-atlas.cpp2
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));
}