浏览代码

* also advance the error code in the case of success

git-svn-id: trunk@43419 -
svenbarth 5 年之前
父节点
当前提交
d813edef72
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;