Commit 43c97f44 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msvcrt: Trace the results of two failing tests.

parent e5fd83da
...@@ -390,9 +390,9 @@ static void test_sprintf( void ) ...@@ -390,9 +390,9 @@ static void test_sprintf( void )
format = "asdf%n"; format = "asdf%n";
x = 0; x = 0;
r = sprintf(buffer, format, &x ); r = sprintf(buffer, format, &x );
ok(x == 4, "should write to x\n"); ok(x == 4, "should write to x: %d\n", x);
ok(!strcmp(buffer,"asdf"), "failed\n"); ok(!strcmp(buffer,"asdf"), "failed\n");
ok( r==4, "return count wrong\n"); ok( r==4, "return count wrong: %d\n", r);
format = "%-1d"; format = "%-1d";
r = sprintf(buffer, format,2); r = sprintf(buffer, format,2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment