Browse Source

* display the wrongly obtained invalid DosError value too

git-svn-id: trunk@29664 -
Tomas Hajny 10 years ago
parent
commit
3caf47d756
1 changed files with 4 additions and 1 deletions
  1. 4 1
      tests/test/units/dos/tfattr.pp

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

@@ -76,7 +76,10 @@ Procedure CheckDosError(err: Integer);
   11 : s := '(11) : Invalid format.';
   18 : s := '(18) : No more files.';
   else
-    s := 'INVALID DOSERROR';
+   begin
+    Str (X, S);
+    s := s + 'INVALID DOSERROR';
+   end
   end;
   if err <> x then
     Begin