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

Implement assertion chaining for Objective-C API as well #750

Merged
merged 1 commit into from
May 8, 2020

Conversation

ikesyo
Copy link
Member

@ikesyo ikesyo commented May 8, 2020

Comment on lines +123 to +124
func testChainFail() {
failsWithErrorMessage(["expected to not equal <2>, got <2>", "expected to equal <3>, got <2>"]) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#742 (comment)

Actually, the chain does not stop on first error; all chained assertions are executed. The behavior itself should be okay but the test should be tweaked a bit.

@ikesyo ikesyo merged commit 0a62ea8 into master May 8, 2020
@ikesyo ikesyo deleted the objc-assertion-chaining branch May 8, 2020 12:43
@ikesyo ikesyo added this to the v9.0.0 milestone May 8, 2020
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