Skip to content

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)

@alexcrichton
Copy link
Member

I think this ended up happening in #1954, so I'm going to close this

@yoshuawuyts
Copy link
Member Author

oops, sorry I forgot I had this open. Ty for closing this!

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