forked from typelevel/cats
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add consistency laws for .combineAll and .combineAllOption.
These tests will catch sitautions where the optimized methods are broken (i.e. become inconsistent with the behavior of .combine). These tests caught an issue with Monoid[Map[K, V]].combineAll, which was broken. Fixes typelevel#1346.
- Loading branch information
1 parent
449e0b0
commit ba1e07e
Showing
2 changed files
with
12 additions
and
4 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