Author: tkreuzer
Date: Fri Aug 31 17:20:56 2012
New Revision: 57208
URL: 
http://svn.reactos.org/svn/reactos?rev=57208&view=rev
Log:
[CRT_APITEST]
Fix broken test.
Modified:
    trunk/rostests/apitests/crt/_vscwprintf.c
Modified: trunk/rostests/apitests/crt/_vscwprintf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/crt/_vscwprintf.…
==============================================================================
--- trunk/rostests/apitests/crt/_vscwprintf.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/crt/_vscwprintf.c [iso-8859-1] Fri Aug 31 17:20:56 2012
@@ -16,13 +16,14 @@
     /* Test the basic functionality */
     va_start(args, formatString);
     ret = _vscwprintf(formatString, args);
-    ok(expected_ret == ret, "Test failed: expected %i, got %i.\n",
expected_ret, ret);
+    ok(expected_ret == ret, "expected %i, got %i.\n", expected_ret, ret);
 }
 START_TEST(_vscwprintf)
 {
     /* Lesson of the day: don't mix wide and ansi char */
-    call_varargs(19, L"%s world!", "hello");
+    /* Lesson of the week: don't ignore the lesson of the day */
+    call_varargs(12, L"%hs world!", "hello");
     call_varargs(12, L"%s world!", L"hello");
     call_varargs(17, L"Jack ate %u pies", 100);
     /* Do not test NULL argument. That is verified to SEGV on a */