Skip to content

Commit bc43e72

Browse files
committed
Fix order of application
1 parent d4ce665 commit bc43e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftzTests/ResultSpec.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class ResultSpec : XCTestCase {
7979
}
8080

8181
property["Result obeys the Functor composition law"] = forAll { (f : ArrowOf<Int, Int>, g : ArrowOf<Int, Int>, x : ResultOf<Int>) in
82-
return ((f.getArrow g.getArrow) <^> x.getResult) == (g.getArrow <^> (f.getArrow <^> x.getResult))
82+
return ((f.getArrow g.getArrow) <^> x.getResult) == (f.getArrow <^> (g.getArrow <^> x.getResult))
8383
}
8484

8585
property["Result obeys the Applicative identity law"] = forAll { (x : ResultOf<Int>) in

0 commit comments

Comments
 (0)