False positive for empty_xctest_method when assigning statements to _ #3691
Labels
bug
Unexpected and reproducible misbehavior.
sourcekit-issue
Issues that are caused by a misbehavior in SourceKit and need to be fixed upstream.
New Issue Checklist
Describe the bug
I'm getting a false positive for
empty_xctest_method
with code like the following:and
But not
or
When these methods are members of a subclass of XCTestCase
Sample input:
Complete output when running SwiftLint, including the stack trace and command used
Environment
No
xcodebuild -version
)?The text was updated successfully, but these errors were encountered: