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

Extend xct_specific_matcher rule to cover === -> XCTAssertIdentical #5849

Open
2 tasks done
akuzminskyi opened this issue Nov 8, 2024 · 0 comments
Open
2 tasks done
Labels
enhancement Ideas for improvements of existing features and rules.

Comments

@akuzminskyi
Copy link

New Issue Checklist

Feature or Enhancement Proposal

Extend xct_specific_matcher rule to cover scenarios for for comparing === in XCAssert to XCTAssertIdentical and XCTAssertNotIdentical for !==.

XCAssertTrue(val1 === val2) -> XCTAssertIdentical(val1, val2)
XCAssert(val1 === val2) -> XCTAssertIdentical(val1, val2)

XCAssertTrue(val1 !== val2) -> XCTAssertNotIdentical(val1, val2)
XCAssert(val1 !== val2) -> XCTAssertNotIdentical(val1, val2)

Describe you idea or proposal here. This can be a new feature, an enhancement to an existing feature, or a change to the
project's behavior. Be sure to include the rationale behind the proposal and any relevant context or examples.

@SimplyDanny SimplyDanny added the enhancement Ideas for improvements of existing features and rules. label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Ideas for improvements of existing features and rules.
Projects
None yet
Development

No branches or pull requests

2 participants