Skip to content

test: add relative links functional test fixtures#61

Open
geopanther wants to merge 2 commits into
mainfrom
test/add-relative-links-fixtures
Open

test: add relative links functional test fixtures#61
geopanther wants to merge 2 commits into
mainfrom
test/add-relative-links-fixtures

Conversation

@geopanther

Copy link
Copy Markdown
Owner

Summary

Add markdown test fixtures for testing --enable-relative-links functionality.

Changes

  • Add test_package/functional/relative_links/ directory with 3 markdown files
  • Covers: sibling links (./), subdirectory links, parent traversal (../), fragment links (#section), mixed relative + external links

Tests performed

  • Ran mdfluence test_package/functional/relative_links --enable-relative-links successfully

Cover missing relative link patterns in renderer unit tests:
- dot-slash sibling links (./file.md)
- sibling links with fragment (./file.md#anchor)
- subdirectory links (./sub/file.md)
- subdirectory links with fragment (./sub/file.md#anchor)
- parent traversal (../file.md)
- parent traversal with fragment (../file.md#anchor)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant