Skip to content

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

Merged
adithyaov merged 1 commit into
masterfrom
translate-esc-diff
Oct 5, 2024
Merged

adithyaov merged 1 commit into
masterfrom
translate-esc-diff

Conversation

@adithyaov

Copy link
Copy Markdown
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
Copy Markdown
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
@adithyaov
adithyaov deleted the translate-esc-diff branch October 15, 2024 09:07
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