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

Strip ANSI colors on string comparison #130

Merged
merged 1 commit into from
Jul 26, 2021

Conversation

schlessera
Copy link
Member

When comparing two strings, this PR strips the contained ANSI color codes, as these should not be a factor in whether the strings match.

@schlessera schlessera added this to the 3.0.16 milestone Jul 26, 2021
@schlessera schlessera requested a review from a team as a code owner July 26, 2021 07:14
@schlessera schlessera merged commit 1374d75 into master Jul 26, 2021
@schlessera schlessera deleted the fix/strip-ansi-colors-on-string-comparison branch July 26, 2021 07:21
schlessera added a commit that referenced this pull request Jan 5, 2022
…omparison

Strip ANSI colors on string comparison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant