Skip to content

Added an explicit check of named arguments to InvocationMatcher to en…#18

Merged
TedSander merged 1 commit intodart-lang:masterfrom
lyceel:master
Jul 27, 2015
Merged

Added an explicit check of named arguments to InvocationMatcher to en…#18
TedSander merged 1 commit intodart-lang:masterfrom
lyceel:master

Conversation

@lyceel
Copy link
Contributor

@lyceel lyceel commented Jul 22, 2015

…sure

that the match will fail if the specified named arguments in the actual
invocation differ from the mocked invocation.

Updated tests to include test cases for the above change.

Changed the top-level "any" and "captureAny" _ArgMatchers to use the
"anything" Matcher from test, rather than using null and having to test
for a null Matcher in isMatchingArg().

…sure

that the match will fail if the specified named arguments in the actual
invocation differ from the mocked invocation.

Updated tests to include test cases for the above change.

Changed the top-level "any" and "captureAny" _ArgMatchers to use the
"anything" Matcher from test, rather than using null and having to test
for a null Matcher in isMatchingArg().
TedSander added a commit that referenced this pull request Jul 27, 2015
Added an explicit check of named arguments to InvocationMatcher to en…
@TedSander TedSander merged commit 9d1d5b1 into dart-lang:master Jul 27, 2015
@TedSander
Copy link
Contributor

Thanks for the contribution.

mosuem pushed a commit to dart-lang/test that referenced this pull request Oct 17, 2024
Added an explicit check of named arguments to InvocationMatcher to en…
davidmorgan pushed a commit to dart-lang/build that referenced this pull request Mar 23, 2026
Added an explicit check of named arguments to InvocationMatcher to en…
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.

2 participants