Pārlūkot izejas kodu

* also advance the error code in the case of success

git-svn-id: trunk@43419 -
svenbarth 5 gadi atpakaļ
vecāks
revīzija
d813edef72
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      tests/test/trtti17.pp

+ 1 - 0
tests/test/trtti17.pp

@@ -36,6 +36,7 @@ begin
     Writeln('TypeInfo failure; expected: ', aType, ', got: ', aTypeInfo^.Kind);
     Halt(NextErrorCode);
   end;
+  NextErrorCode;
 end;
 
 generic procedure TestTypeKind<T>(aType: TTypeKind); inline;