https://git.reactos.org/?p=reactos.git;a=commitdiff;h=44a6987493e3c6e4c100a5274aa6273277d3334a

commit 44a6987493e3c6e4c100a5274aa6273277d3334a
Author:     Joachim Henze <joachim.he...@reactos.org>
AuthorDate: Fri Mar 25 18:42:07 2022 +0100
Commit:     Joachim Henze <joachim.he...@reactos.org>
CommitDate: Fri Mar 25 18:42:07 2022 +0100

    [CRT_APITEST] wctomb.c Fix '\n.' typos CORE-18103
    
    Addendum to 0.4.15-dev-139-g 3cb0bdaa0bd427cba21a8288ad0a4d37b2743037
    
    Those were the only new cases introduced in the ReactOS source tree since
    our last cleanup in that regard.
    Ftr I think adding such finishing dots in debug prints are nonsense in 
general.
---
 modules/rostests/apitests/crt/wctomb.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/rostests/apitests/crt/wctomb.c 
b/modules/rostests/apitests/crt/wctomb.c
index 8048f56df13..8ea72cce10f 100644
--- a/modules/rostests/apitests/crt/wctomb.c
+++ b/modules/rostests/apitests/crt/wctomb.c
@@ -35,16 +35,16 @@ START_TEST(wctomb)
 
     /* Do not give output to the caller */
     Length = wctomb(NULL, 0);
-    ok(Length == 0, "Expected no characters to be converted (because the 
output argument is refused) but got %d\n.", Length);
+    ok(Length == 0, "Expected no characters to be converted (because the 
output argument is refused) but got %d.\n", Length);
 
     /* Do the same but expect a valid wide character argument this time */
     Length = wctomb(NULL, wchSrc[0]);
-    ok(Length == 0, "Expected no characters to be converted (because the 
output argument is refused) but got %d\n.", Length);
+    ok(Length == 0, "Expected no characters to be converted (because the 
output argument is refused) but got %d.\n", Length);
 
     /* Don't return anything to the output even if conversion is impossible */
     Length = wctomb(NULL, wchSrc[1]);
     ok(errno == 0, "The error number (errno) should be 0 even though an 
invalid character in current locale is given but got %d.\n", errno);
-    ok(Length == 0, "Expected no characters to be converted (because the 
output argument is refused) but got %d\n.", Length);
+    ok(Length == 0, "Expected no characters to be converted (because the 
output argument is refused) but got %d.\n", Length);
 
     /* Attempt to convert a character not possible in current locale */
     Length = wctomb(chDest, wchSrc[1]);

Reply via email to