Skip to content

Commit

Permalink
fixed fmt error
Browse files Browse the repository at this point in the history
  • Loading branch information
gagandeepkalra committed Jun 2, 2020
1 parent dd3c3bc commit 50a0cf9
Showing 1 changed file with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ trait ShortCircuitingTests[F[_]] extends Laws {
"traverse won't short-circuit if Applicative[G].map2Eval won't" -> forAll(laws.traverseWontShortCircuit[A] _)
)

def nonEmptyTraverse[A: Arbitrary](
implicit TF: NonEmptyTraverse[F],
ArbFA: Arbitrary[F[A]],
lEq: Eq[Long]
): RuleSet =
def nonEmptyTraverse[A: Arbitrary](implicit TF: NonEmptyTraverse[F], ArbFA: Arbitrary[F[A]], lEq: Eq[Long]): RuleSet =
new DefaultRuleSet(
name = "nonEmptyTraverseShortCircuiting",
parent = Some(traverse[A]),
Expand All @@ -39,11 +35,7 @@ trait ShortCircuitingTests[F[_]] extends Laws {
forAll(laws.nonEmptyTraverseWontShortCircuit[A] _)
)

def traverseFilter[A: Arbitrary](
implicit TF: TraverseFilter[F],
ArbFA: Arbitrary[F[A]],
lEq: Eq[Long]
): RuleSet = {
def traverseFilter[A: Arbitrary](implicit TF: TraverseFilter[F], ArbFA: Arbitrary[F[A]], lEq: Eq[Long]): RuleSet = {
implicit val T: Traverse[F] = TF.traverse
new DefaultRuleSet(
name = "traverseFilterShortCircuiting",
Expand Down

0 comments on commit 50a0cf9

Please sign in to comment.