mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 07:08:12 +02:00
* 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:
parent
cda338b893
commit
d8fadbb6d2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user