-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Adds opt-in discouraged_optional_boolean rule #2013
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2013 +/- ##
==========================================
+ Coverage 89.65% 89.67% +0.01%
==========================================
Files 254 256 +2
Lines 14843 14861 +18
Branches 965 968 +3
==========================================
+ Hits 13308 13327 +19
+ Misses 1516 1515 -1
Partials 19 19
Continue to review full report at Codecov.
|
@@ -74,6 +74,10 @@ class RulesTests: XCTestCase { | |||
verifyRule(DiscouragedObjectLiteralRule.description) | |||
} | |||
|
|||
func testDiscouragedOptionalBoolean() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to run Sourcery to update the tests list to be run on Linux
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done :-) Sorry about that, @marcelofabri. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 💯
Implements #2011.