forked from nsubstitute/NSubstitute
-
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.
Updated params formatting to individually format each arg and highlight
each one that does not match the specified call. * Added ArgumentSpecification.FormatArgument(object) which delegates to its matcher's formatting if the matcher implements IArgumentFormatter, otherwise falls back to the default format provided by ArgumentFormatter. * Updated ArrayContentsArgumentMatcher to implement IArgumentsFormatter and format each params argument against its respective argspec. * Updated CallFormatter to accept pre-formatted args so it no longer has to dig into the spec's non-matching args. Replaced its ICallFormatter interface with more general IMethodFormatter (it is basically a composite method formatter). * Removed ArgumentsFormatter and replaced with Join extension method.
- Loading branch information
Showing
43 changed files
with
602 additions
and
6,552 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
115 changes: 0 additions & 115 deletions
115
Source/NSubstitute.Specs/Arguments/ArgumentFormatInfoFactorySpecs.cs
This file was deleted.
Oops, something went wrong.
54 changes: 0 additions & 54 deletions
54
Source/NSubstitute.Specs/Arguments/ArgumentIsAnythingSpecificationSpecs.cs
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
Source/NSubstitute.Specs/Arguments/ArgumentsFormatterSpecs.cs
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.