Retain leading tabs in test examples #15
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Draft for:
This looks like a nasty format-it-in-my-style PR. I promise you that is not the intent.
:]The issue is that the original use oftextwrap.dedent()was stripping the leading tabs. That is _all_ I hope to fix here. There are certainly several other ways this could be written. I happened to pick this way. You are welcome to correct it, provide a separate fix, or let me know how you want it to look and I'll do the grunt work. I'll be happy with whatever solution.This could be argued to relate to #14 where pylddwrap would become sensitive to the indentation. I thought it made sense as a separate PR since it fixes an existing and independent inaccuracy in the tests.
Side note, would you be interested in a GitHub Actions testing workflow? I'd be happy to write that up for you. (edit: I just went for it #16)