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

improved readability of test code #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

whiskey
Copy link

@whiskey whiskey commented Aug 28, 2021

This PR reformats the test code to follow at least some simple best practices and code guidelines (indentation, etc.) and silences the compiler warnings. The general 'flow' of the tests has not been changed (but could be optimized).

Also, the tests indicate now if they are skipped due to missing rule files (try XCTSkipIf(rulefiles == nil)). Previously the test tricked the user to run successfully ('everything is green') but did actually NOT run at all.

@whiskey
Copy link
Author

whiskey commented Aug 28, 2021

One additional note, it would be cool to enable the 'issues' tab for this repository to report and collect known problems.

@whiskey whiskey marked this pull request as draft August 28, 2021 20:05
@whiskey whiskey marked this pull request as ready for review August 28, 2021 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant