* fix test for deletion notifications, because FPC clears the queue from front to back as well

git-svn-id: trunk@46844 -
This commit is contained in:
svenbarth 2020-09-11 15:46:46 +00:00
parent cda338b893
commit d8fadbb6d2

View File

@ -377,7 +377,7 @@ procedure TTestSimpleQueue.TestValueNotificationDelete;
begin
DoAdd(3);
Queue.OnNotify:=@DoValueNotify;
SetExpectValues('Clear',['1','2','3'],[cnRemoved,cnRemoved,cnRemoved],{$IFDEF FPC}true{$ELSE}False{$endif});
SetExpectValues('Clear',['1','2','3'],[cnRemoved,cnRemoved,cnRemoved]);
Queue.Clear;
DoneExpectValues;
end;