Commit 534cf233 authored by Jakob Eriksson's avatar Jakob Eriksson Committed by Alexandre Julliard

Fix broken test.

parent d4727291
...@@ -393,8 +393,6 @@ static void test_CurrentDirectoryA(CHAR *origdir, CHAR *newdir) ...@@ -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
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment