Skip to content

Commit

Permalink
add failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnhoekstra committed Jun 6, 2024
1 parent 555ab0c commit ad5ae60
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,17 @@ class MockTest extends AnyFreeSpec with MockFactory with Matchers {
class WithOption(opt: Option[String])
class WithInt(i: Int)
class WithString(s: String)
class WithGeneric[T](t: T)
class WithTC[TC[_]](tc: TC[Int])
type ID[A] = A
"mock[WithOption]" should compile
"mock[WithInt]" should compile
"mock[WithString]" should compile
"mock[WithGeneric[Int]]" should compile
"mock[WithGeneric[String]]" should compile
"mock[WithTC[ID]]" should compile
"mock[WithTC[List]]" should compile

}
}
}

0 comments on commit ad5ae60

Please sign in to comment.