浏览代码

* 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 8 月之前
父节点
当前提交
2c9bbc932a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);