From ce329affa79c47aa7bb9496b979ebd4270343111 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 11 Nov 2025 21:51:06 +0100 Subject: [PATCH] test557: avoid `&` symbol in test output to be XML-friendly Closes #19492 --- tests/data/test557 | 2 +- tests/libtest/lib557.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/data/test557 b/tests/data/test557 index b251a4b31e..dce8aff669 100644 --- a/tests/data/test557 +++ b/tests/data/test557 @@ -35,7 +35,7 @@ All curl_mprintf() signed long tests OK! All curl_mprintf() curl_off_t tests OK! All curl_mprintf() strings tests OK! All float strings tests OK! -All curl_mprintf() octal & hexadecimal tests OK! +All curl_mprintf() octal and hexadecimal tests OK! diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c index 84f6120211..ba796f1ceb 100644 --- a/tests/libtest/lib557.c +++ b/tests/libtest/lib557.c @@ -1495,9 +1495,9 @@ static int test_oct_hex_formatting(void) #endif if(!errors) - curl_mprintf("All curl_mprintf() octal & hexadecimal tests OK!\n"); + curl_mprintf("All curl_mprintf() octal and hexadecimal tests OK!\n"); else - curl_mprintf("Some curl_mprintf() octal & hexadecimal tests Failed!\n"); + curl_mprintf("Some curl_mprintf() octal or hexadecimal tests Failed!\n"); return errors; } -- 2.47.3