Fix broken test.

This commit is contained in:
Jakob Eriksson 2005-03-16 19:49:57 +00:00 committed by Alexandre Julliard
parent d4727291ca
commit 534cf2334f
1 changed files with 0 additions and 2 deletions

View File

@ -393,8 +393,6 @@ static void test_CurrentDirectoryA(CHAR *origdir, CHAR *newdir)
*/ */
len=GetCurrentDirectoryA(MAX_PATH,origdir); len=GetCurrentDirectoryA(MAX_PATH,origdir);
ok(len!=0 && len < MAX_PATH,"GetCurrentDirectoryA failed\n"); ok(len!=0 && len < MAX_PATH,"GetCurrentDirectoryA failed\n");
ok(lstrcmpiA(origdir+(len-1),"\\")!=0,
"GetCurrentDirectoryA should not have a trailing \\\n");
/* Make sure that CetCurrentDirectoryA doesn't overwrite the buffer when the /* Make sure that CetCurrentDirectoryA doesn't overwrite the buffer when the
buffer size is too small to hold the current directory buffer size is too small to hold the current directory
*/ */