From ebe15db90619a26284b67a9eacd0a200e87d3b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 2 Oct 2023 21:37:15 +0200 Subject: [PATCH] Text: test with inserting a non-zero glyph and one that is in bounds. Not sure how this assertion even fired before since it's just replacing the default invalid glyph. --- src/Magnum/Text/Test/AbstractGlyphCacheTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Text/Test/AbstractGlyphCacheTest.cpp b/src/Magnum/Text/Test/AbstractGlyphCacheTest.cpp index b3c7007f1..e3e858fbc 100644 --- a/src/Magnum/Text/Test/AbstractGlyphCacheTest.cpp +++ b/src/Magnum/Text/Test/AbstractGlyphCacheTest.cpp @@ -143,7 +143,7 @@ void AbstractGlyphCacheTest::reserveIncremental() { DummyGlyphCache cache{{24, 20}, {1, 2}}; /* insert() is what triggers the assert, not reserve() alone */ - cache.insert(0, {3, 5}, {{10, 10}, {23, 45}}); + cache.insert(34, {3, 5}, {{10, 10}, {23, 10}}); std::ostringstream out; Error redirectError{&out};