Skip to content

Tests: prefer XCTAssertEqual over XCTAssertTrue #5083

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

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Sep 8, 2024

Use the XCTAssertEqual check for the equality over an inline equal check. This allows the message to describe both sides of the comparison and helps identify the issue more easily.

Use the `XCTAssertEqual` check for the equality over an inline equal
check. This allows the message to describe both sides of the comparison
and helps identify the issue more easily.
@compnerd
Copy link
Member Author

compnerd commented Sep 8, 2024

@swift-ci please test

@compnerd compnerd merged commit a12c7d1 into swiftlang:main Sep 8, 2024
2 of 3 checks passed
@compnerd compnerd deleted the equal branch September 8, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant