"Pedro A. Aranda" <[email protected]> writes:

> Hi,
>
> test-org-tests/find-duplicates
>
> is yelling at me with a perfectly valid test:

This is expected false-positive.
You technically do have duplicate statements in the test:

>        (goto-char (point-min))
> ...
>        (should (search-forward-regexp "^100 & test"))
> ...
>        (should (search-forward-regexp "^100 & test"))))

That's what the duplicate detector complains about.
As suggested in the failure message, you can use
`org-test-ignore-duplicate' to suppress this false-positive failure.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to