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(golden): always show escaped golden files when comparing the outputs #270

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

aymanbagabas
Copy link
Member

This change makes RequireEqual always escape the control codes and escape sequences from the diff output when comparing the golden file with the output.

It also deprecates the RequireEqualEscape function, which was previously used to escape the control codes and escape sequences from the output before comparing it with the golden file.

This change makes `RequireEqual` always escape the control codes and
escape sequences from the diff output when comparing the golden file
with the output.

It also deprecates the `RequireEqualEscape` function, which was
previously used to escape the control codes and escape sequences from
the output before comparing it with the golden file.
@aymanbagabas aymanbagabas merged commit cc5c35c into main Nov 18, 2024
7 of 8 checks passed
@aymanbagabas aymanbagabas deleted the golden-diff branch November 18, 2024 21:06
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