Browse Source

* the message id might not be at the start of the line, but after a visibility specifier followed by a colon and space

Sven/Sarah Barth 7 months ago
parent
commit
2c9bbc932a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/utils/dotest.pp

+ 1 - 1
tests/utils/dotest.pp

@@ -764,7 +764,7 @@ begin
         begin
           str(Msgs[i],id);
           id:='('+id+')';
-          if copy(s,1,length(id))=id then
+          if (copy(s,1,length(id))=id) or (pos(': '+id,s)>0) then
             begin
               if not Found[i] then
                 inc(fnd);