André Hentschel : mscms/tests: Fix test message.
Alexandre Julliard
julliard at winehq.org
Fri Dec 31 11:01:03 CST 2010
Module: wine
Branch: master
Commit: 39c4aa116885397293d6e800a3aae4063a2cc996
URL: http://source.winehq.org/git/wine.git/?a=commit;h=39c4aa116885397293d6e800a3aae4063a2cc996
Author: André Hentschel <nerv at dawncrow.de>
Date: Thu Dec 30 19:52:34 2010 +0100
mscms/tests: Fix test message.
---
dlls/mscms/tests/profile.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mscms/tests/profile.c b/dlls/mscms/tests/profile.c
index 49634e0..7cbface 100644
--- a/dlls/mscms/tests/profile.c
+++ b/dlls/mscms/tests/profile.c
@@ -1348,10 +1348,10 @@ START_TEST(profile)
ret = GetSystemDirectoryA( profilefile1, sizeof(profilefile1) );
ok( ret > 0, "GetSystemDirectoryA() returns %d, LastError = %d\n", ret, GetLastError());
ok( lstrlenA(profilefile1) > 0 && lstrlenA(profilefile1) < MAX_PATH,
- "GetSystemDirectoryA() returns %d, LastError = %d\n", ret, GetLastError());
+ "Expected length between 0 and MAX_PATH, got %d\n", lstrlenA(profilefile1));
MultiByteToWideChar(CP_ACP, 0, profilefile1, -1, profilefile1W, MAX_PATH);
ok( lstrlenW(profilefile1W) > 0 && lstrlenW(profilefile1W) < MAX_PATH,
- "GetSystemDirectoryA() returns %d, LastError = %d\n", ret, GetLastError());
+ "Expected length between 0 and MAX_PATH, got %d\n", lstrlenW(profilefile1W));
lstrcpyA(profilefile2, profilefile1);
lstrcpyW(profilefile2W, profilefile1W);
More information about the wine-cvs
mailing list