Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Inline snapshots: do not indent empty lines. #8277
Problem as reported by @zertosh :
The obvious concern here is that, if for whatever reason a snapshot is relying on whitespace on a certain line, we don't want to impact that... even if some editors are going to automatically remove it.
To resolve, I've just stopped indenting empty lines IF they are completely empty.