forked from nunit/nunit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Permit DictionaryContainsKeyValuePairConstraint to take in a null val…
…ue (fix CS8604) (nunit#4689) * Permit DictionaryContainsKeyValuePairConstraint to take in a null value, matching the nullability of DictionaryEntry. * Fix up nullability of DictionaryContainsValueConstraint to permit `object?` instead of `object`. * Add some basic tests that null values can be found in dictionaries by DictionaryContains(Key)ValueConstraint. * Update DictionaryContainsKeyValueConstraintTests.cs to use [TestCase] instead of [Theory]. * Update DictionaryContainsValueConstraintTests.cs to replace use of [Theory] with [TestCase]. --------- Co-authored-by: Andrew McClement <andrew.mcclement@aveva.com>
- Loading branch information
1 parent
612dd8c
commit 7b9497d
Showing
7 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters