Skip to content

Commit

Permalink
Error on purpose.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Sereno Ferreira committed Dec 3, 2012
1 parent 46bd872 commit e7fc2d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/scala/test.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ object SkiCombinators {
class HelloWorldSpec extends Specification with ScalaCheck {
"Summing numbers" should {
"satisfy commutativity" ! check {
forAll { (i: Int, j: Int) => i + j == j + i }
forAll { (i: Int, j: Int) => i + j == j - i }
}

"satisfy associativity" ! check {
Expand Down Expand Up @@ -73,4 +73,4 @@ class HelloWorldSpec extends Specification with ScalaCheck {
forAll { (a: Int) ⇒ K(I)(I) == I }
} */
}
}
}

0 comments on commit e7fc2d7

Please sign in to comment.