-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test case-sensitivity #192
Milestone
Comments
Sorokin-Anton
added a commit
that referenced
this issue
Oct 13, 2022
Problem: there is no tests for links to directories and non-markdown files. Also we aren't testing that links are case sensetive Solution: add such tests to `check-local-refs`, also check that only links to directory are allowed to have trailing slash, e.g. `a.md/` is bad and `dir1/` is ok
8 tasks
Sorokin-Anton
added a commit
that referenced
this issue
Oct 13, 2022
Problem: there is no tests for links to directories and non-markdown files. Also we aren't testing that links are case sensetive Solution: add such tests to `check-local-refs`, also check that only links to directory are allowed to have trailing slash, e.g. `a.md/` is bad and `dir1/` is ok
Sorokin-Anton
added a commit
that referenced
this issue
Oct 13, 2022
Problem: there is no tests for links to directories and non-markdown files. Also we aren't testing that links are case sensetive Solution: add such tests to `check-local-refs`, also check that only links to directory are allowed to have trailing slash, e.g. `a.md/` is bad and `dir1/` is ok
Sorokin-Anton
added a commit
that referenced
this issue
Oct 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clarification and motivation
One more quirk I just came across while reading the docs of
equalFilePath
:On linux, filepaths are case-sensitive. So, if you have a file named
a
and a link toA
, the link is invalid.Both GitHub and GitLab's URIs are also case-sensitive:
So we should have tests for case-sensitivity.
Windows paths, however, are case-insensitive. So these tests will also be useful for #164
Acceptance criteria
The text was updated successfully, but these errors were encountered: