]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test557: avoid `&` symbol in test output to be XML-friendly
authorViktor Szakats <commit@vsz.me>
Tue, 11 Nov 2025 20:51:06 +0000 (21:51 +0100)
committerViktor Szakats <commit@vsz.me>
Wed, 12 Nov 2025 15:26:57 +0000 (16:26 +0100)
Closes #19492

tests/data/test557
tests/libtest/lib557.c

index b251a4b31e56f62ffec83116afa705497ad4b24e..dce8aff669d36bf4895413a74553a3473d4a6120 100644 (file)
@@ -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!
 </stdout>
 </verify>
 
index 84f61202117ca74c98f181563976b7c8dbefd20a..ba796f1ceb161f54ab4a13620fbca6697c7fd0d5 100644 (file)
@@ -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;
 }