Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add shortcut for MapLike.contains.inAnyOrder.only.entry/entriesOf #726

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

robstoll
Copy link
Owner

of course also for ...only.entries


I confirm that I have read the Contributor Agreements v1.0, agree to be bound on them and confirm that my contribution is compliant.

This was linked to issues Dec 21, 2020
@jGleitz
Copy link
Collaborator

jGleitz commented Dec 21, 2020

I think we should document this in the README, shouldn’t we?

@codecov
Copy link

codecov bot commented Dec 21, 2020

Codecov Report

Merging #726 (b465f98) into master (b460802) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #726      +/-   ##
============================================
+ Coverage     87.75%   87.77%   +0.02%     
  Complexity       16       16              
============================================
  Files           936      936              
  Lines          8361     8377      +16     
  Branches        388      388              
============================================
+ Hits           7337     7353      +16     
  Misses          948      948              
  Partials         76       76              
Flag Coverage Δ Complexity Δ
bbc 78.82% <0.00%> (-0.16%) 0.00 <0.00> (ø)
bc 57.15% <0.00%> (-0.12%) 0.00 <0.00> (ø)
current 59.49% <100.00%> (+0.09%) 0.00 <0.00> (ø)
current_windows 50.50% <100.00%> (+0.11%) 0.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
.../fluent/en_GB/mapLikeContainsInAnyOrderCreators.kt 100.00% <ø> (ø) 0.00 <0.00> (ø)
...ent/en_GB/mapLikeContainsInAnyOrderOnlyCreators.kt 100.00% <ø> (ø) 0.00 <0.00> (ø)
...fluent/en_GB/mapLikeContainsInOrderOnlyCreators.kt 100.00% <ø> (ø) 0.00 <0.00> (ø)
...i/infix/en_GB/mapLikeContainsInAnyOrderCreators.kt 100.00% <ø> (ø) 0.00 <0.00> (ø)
.../infix/en_GB/mapLikeContainsInOrderOnlyCreators.kt 100.00% <ø> (ø) 0.00 <0.00> (ø)
...h/tutteli/atrium/api/fluent/en_GB/mapAssertions.kt 100.00% <100.00%> (ø) 0.00 <0.00> (ø)
...ch/tutteli/atrium/api/infix/en_GB/mapAssertions.kt 100.00% <100.00%> (ø) 0.00 <0.00> (ø)
...fix/en_GB/mapLikeContainsInAnyOrderOnlyCreators.kt 100.00% <100.00%> (ø) 0.00 <0.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 b460802...b465f98. Read the comment docs.

@robstoll robstoll merged commit 5d5740f into master Dec 21, 2020
@robstoll
Copy link
Owner Author

@jGleitz I will add the documentation in a next PR. You can now start with the code changes (just don't change the README for now)

@robstoll robstoll deleted the Map.contains-shortcuts branch December 21, 2020 15:55
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.

Map.contains(Only)EntriesOf Map containsOnly with pairs
2 participants