Sfoglia il codice sorgente

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

git-svn-id: trunk@46844 -
svenbarth 4 anni fa
parent
commit
d8fadbb6d2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/rtl-generics/tests/tests.generics.queue.pas

+ 1 - 1
packages/rtl-generics/tests/tests.generics.queue.pas

@@ -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;