test: validate docstrings are actually attached

Use `findDocString?` to verify the docstrings are correctly set,
rather than just checking the declarations exist.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 file changed