mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 19:11:03 +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
|
begin
|
||||||
DoAdd(3);
|
DoAdd(3);
|
||||||
Queue.OnNotify:=@DoValueNotify;
|
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;
|
Queue.Clear;
|
||||||
DoneExpectValues;
|
DoneExpectValues;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user