mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-15 11:49:27 +02:00
* extended RTTI now includes static properties, so adjust the test to reflect this
This commit is contained in:
parent
4aed151833
commit
024d2bfd73
@ -2,7 +2,7 @@ program texrtti17;
|
||||
|
||||
{$mode objfpc}
|
||||
|
||||
{ Test that class properties are not returned in RTTI }
|
||||
{ Test that class properties are returned in RTTI }
|
||||
|
||||
uses typinfo, uexrttiutil;
|
||||
|
||||
@ -31,6 +31,6 @@ var
|
||||
|
||||
begin
|
||||
aCount:=GetPropListEx(T1,P);
|
||||
AssertEquals('class property not in RTTI properties',0,aCount);
|
||||
AssertEquals('class property not in RTTI properties',1,aCount);
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user