Browse Source

* fixed test, doing findclose twice hurts at least win64

git-svn-id: trunk@7048 -
florian 18 years ago
parent
commit
dac3a5c5a8
1 changed files with 1 additions and 4 deletions
  1. 1 4
      tests/test/units/dos/tdos2.pp

+ 1 - 4
tests/test/units/dos/tdos2.pp

@@ -530,6 +530,7 @@ Begin
 {$IFDEF FPC}
  FindClose(Search);
 {$ENDIF}
+
  if not FoundDir then
    WriteLn(s+'FAILURE. Did not find '+TestDir+' directory')
  else
@@ -546,10 +547,6 @@ Begin
  else
    WriteLn(s+'Success.');
 
-{$IFDEF FPC}
- FindClose(Search);
-{$ENDIF}
-
 {$ifdef go32v2}
  s:='Searching using ??? wildcard (normal files + all special files)...';
  FindFirst('???',AnyFile,Search);