* Fixes after re-running test

This commit is contained in:
Michaël Van Canneyt 2024-12-23 19:42:04 +01:00
parent 8834c109fa
commit 774e96f8a9
2 changed files with 1 additions and 3 deletions
packages/rtl-objpas

View File

@ -2860,8 +2860,6 @@ begin
Result:=FData.FValueData.GetDataSize;
exit;
end;
if IsEmpty then
exit;
case Kind of
tkEnumeration,
tkBool,

View File

@ -1787,7 +1787,7 @@ begin
s:=[low(TTestEnum),high(TTestEnum)];
TValue.Make(@s, TypeInfo(TTestSet), value);
CheckEquals(SizeOf(TTestSet), value.DataSize, 'Size of TTestSet differs');
p := Nil;
p := Self;
TValue.Make(@p, TypeInfo(Pointer), value);
CheckEquals(SizeOf(Pointer), value.DataSize, 'Size of Pointer differs');
end;