diff --git a/matcher/shared/src/main/scala/org/specs2/matcher/AnyMatchers.scala b/matcher/shared/src/main/scala/org/specs2/matcher/AnyMatchers.scala index cd45f74bbd..9e3abfc330 100644 --- a/matcher/shared/src/main/scala/org/specs2/matcher/AnyMatchers.scala +++ b/matcher/shared/src/main/scala/org/specs2/matcher/AnyMatchers.scala @@ -176,7 +176,7 @@ class BeFalseMatcher extends Matcher[Boolean]: /** Equality Matcher */ -class BeEqualTo(t: =>Any) extends EqualityMatcher(t) +class BeEqualTo[T](t: =>T) extends EqualityMatcher(t) /** This matcher always matches any value of type T */