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 test bless #1948

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yoshuawuyts
Copy link
Member

While working on #1946 I noticed that the test case bless flag was changing a lot of files (174). That's because we currently include a mix of files where some have trailing newlines and others do not. This fixes the test case bless flag to always include trailing newlines - and then blesses the test suite to ensure all files have a trailing newline.

This should make it a lot easier to bless subsequent runs. Thanks!

@@ -0,0 +1 @@

Copy link
Member

Choose a reason for hiding this comment

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

Mind adding a special case that skips the output if the output is empty? (avoids adding lots of empty files)

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