msi: Increase verbosity in some failing tests.

This commit is contained in:
Andrew Ziem 2006-05-28 23:33:55 -06:00 committed by Alexandre Julliard
parent 739cd1ea32
commit f1b449942f
1 changed files with 4 additions and 4 deletions

View File

@ -1042,8 +1042,8 @@ static void test_formatrecord(void)
r = MsiRecordSetString(hrec, 1, "hoo");
sz = sizeof buffer;
r = MsiFormatRecord(0, hrec, buffer, &sz);
ok( sz == 3, "size wrong\n");
ok( 0 == strcmp(buffer,"[1]"), "wrong output\n");
ok( sz == 3, "size wrong: got %lu, expected 3\n", sz);
ok( 0 == strcmp(buffer,"[1]"), "wrong output: got %s, expected [1]\n", buffer);
}
ok( r == ERROR_SUCCESS, "format failed\n");
@ -1052,8 +1052,8 @@ static void test_formatrecord(void)
r = MsiRecordSetString(hrec, 1, "hoo");
sz = sizeof buffer;
r = MsiFormatRecord(0, hrec, buffer, &sz);
ok( sz == 3, "size wrong\n");
ok( 0 == strcmp(buffer,"[1]"), "wrong output\n");
ok( sz == 3, "size wrong: got %lu, expected 3\n", sz);
ok( 0 == strcmp(buffer,"[1]"), "wrong output: got %s, expected [1]\n", buffer);
}
ok( r == ERROR_SUCCESS, "format failed\n");