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

Universal/DisallowInlineTabs: add extra tests + remove redundancy #217

Merged
merged 2 commits into from
Mar 26, 2023

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Mar 25, 2023

Universal/DisallowInlineTabs: add extra tests + fix test tab handling

  • Add a space-based test case file which shouldn't yield any errors or warnings at all.
  • Make sure that the "tabwidth" set for test files is correctly respected.
  • Fix the DisallowInlineTabsUnitTest.5.inc fixed file.

Universal/DisallowInlineTabs: remove some redundant code

The 'orig_content' key only gets set when there are tabs in the token content, so no need for the extra check.

@jrfnl jrfnl added this to the 1.x Next milestone Mar 25, 2023
@jrfnl jrfnl enabled auto-merge March 25, 2023 23:57
@jrfnl jrfnl disabled auto-merge March 25, 2023 23:57
@jrfnl jrfnl force-pushed the universal/disallowinlinetabs-add-extra-tests branch 2 times, most recently from bcfb9e1 to 8d4327b Compare March 26, 2023 00:21
* Add a space-based test case file which shouldn't yield any errors or warnings at all.
* Make sure that the "tabwidth" set for test files is correctly respected.
* Fix the `DisallowInlineTabsUnitTest.5.inc` fixed file.
@jrfnl jrfnl force-pushed the universal/disallowinlinetabs-add-extra-tests branch from 5fd97bc to 19bc003 Compare March 26, 2023 00:37
The `'orig_content'` key only gets set when there are tabs in the token content, so no need for the extra check.
@jrfnl jrfnl changed the title Universal/DisallowInlineTabs: add extra tests Universal/DisallowInlineTabs: add extra tests + remove redundancy Mar 26, 2023
@jrfnl jrfnl merged commit 75c6ef9 into develop Mar 26, 2023
@jrfnl jrfnl deleted the universal/disallowinlinetabs-add-extra-tests branch March 26, 2023 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant