Skip to content

Fixes #2061: ArgumentMatcher error messages use lambda class names#2071

Merged
TimvdLippe merged 1 commit intomockito:release/3.xfrom
Marcono1234:marcono1234/synthetic-argument-matcher-name
Oct 17, 2020
Merged

Fixes #2061: ArgumentMatcher error messages use lambda class names#2071
TimvdLippe merged 1 commit intomockito:release/3.xfrom
Marcono1234:marcono1234/synthetic-argument-matcher-name

Conversation

@Marcono1234
Copy link
Copy Markdown
Contributor

@Marcono1234 Marcono1234 commented Oct 17, 2020

Fixes #2061

Copy link
Copy Markdown
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix!

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #2071 into release/3.x will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@              Coverage Diff               @@
##             release/3.x    #2071   +/-   ##
==============================================
  Coverage          84.90%   84.90%           
- Complexity          2704     2705    +1     
==============================================
  Files                325      325           
  Lines               8206     8210    +4     
  Branches             979      980    +1     
==============================================
+ Hits                6967     6971    +4     
  Misses               968      968           
  Partials             271      271           
Impacted Files Coverage Δ Complexity Δ
...ain/java/org/mockito/internal/util/StringUtil.java 100.00% <ø> (ø) 13.00 <0.00> (ø)
...ockito/internal/matchers/text/MatcherToString.java 92.85% <100.00%> (+2.85%) 5.00 <0.00> (+1.00)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b16ec17...0e1133b. Read the comment docs.

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.

Lambda used as ArgumentMatcher causes decamelized lambda name to appear in error message

3 participants