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

Fix wordWithQuotes for a case where the string ends with an esc char #2851

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

adithyaov
Copy link
Member

No description provided.

@adithyaov adithyaov changed the title Translate Esc to account for ending with quoted esc char Fix wordWithQuotes for a case where the string ends with an esc char Oct 4, 2024
quotedWordTest :: String -> [String] -> IO ()
quotedWordTest inp expected = do
res <-
S.fold FL.toList
Copy link
Member

Choose a reason for hiding this comment

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

We have S.toList as well. We can use that.

@adithyaov adithyaov merged commit b32c1c1 into master Oct 5, 2024
15 of 20 checks passed
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.

wordWithQuotes should have a functionatity to translate the ESC char at the end
2 participants