Skip to content
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

Tests/shared #101

Closed
wants to merge 6 commits into from
Closed

Tests/shared #101

wants to merge 6 commits into from

Conversation

erikyo
Copy link
Collaborator

@erikyo erikyo commented May 27, 2024

With this Pr we are going to fix some inconsistencies in the shared functions and adding some tests, in order to ensure proper functioning

erikyo and others added 6 commits May 13, 2024 12:10
The escape character logic was not working correctly.

The logic of how a line is folded with a final escape character was
flawed. Using a loop to consume forward slashes would not allow for an
escaped forward slash to be folded correctly, it would append an extra
character to the line.

- Use if statements to check for escape characters. Only one extra
  character should be appended to the line, and it should be considered
  escaped.
- Add new test cases to test the escape character logic.
fix: foldLine escape character logic
@erikyo erikyo changed the base branch from master to development May 27, 2024 14:14
@erikyo erikyo closed this May 27, 2024
@erikyo erikyo deleted the tests/shared branch May 27, 2024 16:05
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