vdoc: fix regression on example comments #21226
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix for a regression that happend due to accidentally leaving merge methods changed when working #21220. The symptom is that examples are part of the comment text
![Screenshot_20240408_160452](https://private-user-images.githubusercontent.com/34311583/320512393-691330e5-9320-4ea3-9312-449daca8ecf7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjc5MzcsIm5iZiI6MTczOTEyNzYzNywicGF0aCI6Ii8zNDMxMTU4My8zMjA1MTIzOTMtNjkxMzMwZTUtOTMyMC00ZWEzLTkzMTItNDQ5ZGFjYThlY2Y3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE5MDAzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEyYjNjODg5Y2UwZTQ5YTNjNjA4OTgyMTdmNDQ1ZGRlZmQyYTQ0ZTQyMjIxZDdjNjk5ZTdjNmRkMmMzN2VhNzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.yz-nVHmPLXtjES2C0BLJqu8T538Od5PyawLgnJvxp0Y)
Adds tests for doc comment examples. The main coverage here is that there are no duplicates in of the example comments.