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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dedent handling of empty lines and nl #141

Merged

Conversation

bbqsrc
Copy link
Contributor

@bbqsrc bbqsrc commented Jul 4, 2018

Hey!

I noticed a couple of issues with trailing newlines and blank lines with dedent, so I created a few new test cases and then made them pass.

Also added a couple of checks for mixed whitespace patterns to make sure I didn't break anything while I was at it. 馃槃

@mgeisler
Copy link
Owner

Hej @bbqsrc, thank you very much for the PR -- and sorry for the slow turn-around time.

The build failure is unrelated, it seems that some library has again bumped the minimum required rustc version. I'll likely have to do the same for textwrap then.

@mgeisler mgeisler merged commit 64aa0b9 into mgeisler:master Jul 11, 2018
mgeisler added a commit that referenced this pull request Jul 11, 2018
mgeisler added a commit that referenced this pull request Jul 12, 2018
readme: mention dedent bugfix in #141
@bbqsrc bbqsrc deleted the bugfix/empty-lines-and-terminating-nl branch July 23, 2018 23:04
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.

None yet

2 participants