Skip to content

Conversation

@jnyrup
Copy link
Member

@jnyrup jnyrup commented Aug 19, 2019

When using the new public constructor of AssertionScope introduced in #1094 the AssertionScope was constructed differently than when using the parameterless constructor.

The public constructor taking an IAssertionStrategy should work exactly like the parameterless constructor, except that it uses the injected assertionStrategy instead of CollectingAssertionStrategy.

This fixes #1118

@jnyrup jnyrup merged commit d5ec77f into fluentassertions:master Aug 20, 2019
@jnyrup jnyrup deleted the AssertionScope branch August 20, 2019 06:24
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.

AssertionScope with a custom strategy does not report each assertion

2 participants