Commit 85dea193 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

kernel32/tests: Remove an identical if / else branch.

parent 3e6b503a
...@@ -187,15 +187,8 @@ static void test_ValidPathA(const CHAR *curdir, const CHAR *subdir, const CHAR * ...@@ -187,15 +187,8 @@ static void test_ValidPathA(const CHAR *curdir, const CHAR *subdir, const CHAR *
len=pGetLongPathNameA(fullpath,tmpstr,MAX_PATH); len=pGetLongPathNameA(fullpath,tmpstr,MAX_PATH);
if(passfail==NULL) { if(passfail==NULL) {
ok(len, "%s: GetLongPathNameA failed\n",errstr); ok(len, "%s: GetLongPathNameA failed\n",errstr);
if(HAS_TRAIL_SLASH_A(fullpath)) { ok(!lstrcmpiA(fullpathlong, tmpstr), "%s: GetLongPathNameA returned '%s' instead of '%s'\n",
ok(lstrcmpiA(fullpathlong,tmpstr)==0, errstr, tmpstr, fullpathlong);
"%s: GetLongPathNameA returned '%s' instead of '%s'\n",
errstr,tmpstr,fullpathlong);
} else {
ok(lstrcmpiA(fullpathlong,tmpstr)==0,
"%s: GetLongPathNameA returned '%s' instead of '%s'\n",
errstr,tmpstr,fullpathlong);
}
} else { } else {
passfail->longlen=len; passfail->longlen=len;
passfail->longerror=GetLastError(); passfail->longerror=GetLastError();
......
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