Skip to content

Improve CriteriaAssertFixture #2489

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
Aug 16, 2020

Conversation

ngbrown
Copy link
Contributor

@ngbrown ngbrown commented Aug 15, 2020

The reason for this change is that the ReSharper unit test runner was reporting these tests as failures when the AssertCriteriaAreEqual are expected to fail.

The try/catch along with a Assert.pass() wasn't enough. Assert.Throws does behave correctly.

@hazzik hazzik merged commit d5d2f00 into nhibernate:master Aug 16, 2020
@ngbrown ngbrown deleted the criteria-assert-fixture-fix branch August 16, 2020 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants