From bdbf5c0ef246a1138b2e35afbc026eacf3ea6440 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 28 Feb 2026 03:12:29 +0500 Subject: [PATCH] engine: client: titles: add another edge case test for titles.txt parser --- engine/client/titles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/titles.c b/engine/client/titles.c index 68727411..8faaad7f 100644 --- a/engine/client/titles.c +++ b/engine/client/titles.c @@ -389,7 +389,7 @@ void Test_RunTitles( void ) "{\n" "OwO\n" "}\n" - "Technically titles can have spaces\n" + "Technically titles can have spaces and // can't have comments\n" "{\n" "Oh yeah!\n" "}\n"; @@ -430,7 +430,7 @@ void Test_RunTitles( void ) TASSERT_STR( tmessages[0].pName, "TITLE" ); TASSERT_STR( tmessages[1].pName, "TITLE2" ); TASSERT_STR( tmessages[2].pName, "UwU" ); - TASSERT_STR( tmessages[3].pName, "Technically titles can have spaces" ); + TASSERT_STR( tmessages[3].pName, "Technically titles can have spaces and // can't have comments" ); TASSERT_STR( tmessages[0].pMessage, "Hello to anybody reading test data\nHope you have a good time" ); TASSERT_STR( tmessages[1].pMessage, "Still reading that nonsense huh?" );