Skip to content

Conversation

@calielc
Copy link

@calielc calielc commented Jan 2, 2026

Updating Func<MatchOptions, MatchOptions> matchOptions = null to Func<MatchOptions, MatchOptions>? matchOptions = null this was causing warnings into your code base and not building on a downstream reference when sending null.

Given the fact matchOptions can be null when no value is passed and down into the call of AssertSnapshot also supports null value, IMHO is pretty safe to mark the interface as ?

@calielc
Copy link
Author

calielc commented Jan 2, 2026

Tests Snapshooter.Xunit.Tests.AcceptMatchOption.Decimal failed locally due to different culture of my computer.

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