Skip to content

Conversation

@toku-sa-n
Copy link
Collaborator

@toku-sa-n toku-sa-n commented Aug 23, 2022

bytestring's lines does not handle \r, and that made the test
program not detecting enclosing "```"s. This PR removes all \rs to prevent the tests from causing the NoFenceEnd error on Windows.

`bytestring`'s `lines` does not handle `\r`, and that made the test
program not detect enclosing "```"s. This commit treats `\r` explicitly.

See: https://hackage.haskell.org/package/bytestring-0.11.3.1/docs/Data-ByteString-Char8.html#v:lines
toku-sa-n added a commit to toku-sa-n/hindent that referenced this pull request Aug 24, 2022
After merging mihaimaruseac#590, there should be no errors.
Tests succeeded on the last commit. However, not all tests ran due to
`\r`s. This commit removes all `\r`s to run all tests.
@toku-sa-n toku-sa-n mentioned this pull request Aug 24, 2022
@toku-sa-n toku-sa-n changed the title Handle trailing \rs when reading TESTS.md Remove all \rs when reading TESTS.md Aug 24, 2022
Copy link
Owner

@mihaimaruseac mihaimaruseac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@mihaimaruseac mihaimaruseac merged commit fae8078 into mihaimaruseac:master Sep 3, 2022
@toku-sa-n toku-sa-n deleted the fix_windows_test branch September 4, 2022 01:20
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.

2 participants