Andrew Ziem : msi: Increase verbosity in some failing tests.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue May 30 13:07:30 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: f1b449942f9307520eeca01692f988e240a4cef6
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f1b449942f9307520eeca01692f988e240a4cef6
Author: Andrew Ziem <ahziem1 at mailbolt.com>
Date: Sun May 28 23:33:55 2006 -0600
msi: Increase verbosity in some failing tests.
---
dlls/msi/tests/format.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/msi/tests/format.c b/dlls/msi/tests/format.c
index 5d79a31..6016c62 100644
--- a/dlls/msi/tests/format.c
+++ b/dlls/msi/tests/format.c
@@ -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");
More information about the wine-cvs
mailing list