diff --git a/src/Magnum/Math/Test/ColorTest.cpp b/src/Magnum/Math/Test/ColorTest.cpp index 382572ef0..4ae0dbcb0 100644 --- a/src/Magnum/Math/Test/ColorTest.cpp +++ b/src/Magnum/Math/Test/ColorTest.cpp @@ -1199,6 +1199,11 @@ void ColorTest::debugUb() { o.str({}); Debug(&o) << 0x12345678_rgba << 0x90abcdef_rgba; CORRADE_COMPARE(o.str(), "#12345678 #90abcdef\n"); + + /* The Hex flag shouldn't affect this at all */ + o.str({}); + Debug{&o, Debug::Flag::Hex} << 0x789abc_rgb << 0x12345678_rgba; + CORRADE_COMPARE(o.str(), "#789abc #12345678\n"); } void ColorTest::debugUbColor() {