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

Unordered expectations #20

Merged
merged 4 commits into from
Aug 17, 2015
Merged

Unordered expectations #20

merged 4 commits into from
Aug 17, 2015

Conversation

tibr
Copy link
Contributor

@tibr tibr commented Aug 14, 2015

This pull request changes the verification behavior so that the order of expectations and invocations does not matter.

I've also updated Nimble to 1.0.0.

Closes #19

expect(message).to(equal("Expectation <(_, 3)> not matched"))
}
expect(failureMessageSent).to(beTrue())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added these to make sure that a failure message is sent. Otherwise this test would pass even though we did not get a failure message.

@tibr tibr closed this Aug 14, 2015
@tibr tibr reopened this Aug 14, 2015
@felixvisee felixvisee force-pushed the unordered_expectations branch from bea789e to 3e8039d Compare August 14, 2015 14:54
@felixvisee felixvisee mentioned this pull request Aug 14, 2015
@tibr
Copy link
Contributor Author

tibr commented Aug 14, 2015

👍

felixvisee pushed a commit that referenced this pull request Aug 17, 2015
@felixvisee felixvisee merged commit 251ff09 into master Aug 17, 2015
@felixvisee felixvisee deleted the unordered_expectations branch August 17, 2015 10:38
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.

2 participants