Skip to content

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