mscms/tests: Fix test message.

oldstable
André Hentschel 2010-12-30 19:52:34 +01:00 committed by Alexandre Julliard
parent 92f9cb6c5d
commit 39c4aa1168
1 changed files with 2 additions and 2 deletions

View File

@ -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);