We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd4754 commit c698eb1Copy full SHA for c698eb1
compiler/test/dotty/tools/CheckTypeTest.scala
@@ -1,7 +1,7 @@
1
package dotty.tools
2
3
import org.junit.Test
4
-import org.junit.Assert.{ assertFalse, assertTrue }
+import org.junit.Assert.{ assertFalse, assertTrue, fail }
5
6
import dotc.ast.Trees._
7
import dotc.core.Decorators._
@@ -35,6 +35,8 @@ class CheckTypeTest extends DottyTest {
35
assertTrue (ls <:< lr)
36
assertTrue (lb <:< la)
37
assertFalse (la <:< lb)
38
+
39
+ case _ => fail
40
}
41
42
0 commit comments