diff options
-rw-r--r-- | test/files/run/misc.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/misc.scala b/test/files/run/misc.scala index 900139e1cd..bff24ae0ee 100644 --- a/test/files/run/misc.scala +++ b/test/files/run/misc.scala @@ -221,11 +221,11 @@ Console.println; case class Foo(i:int, j:char, c:Bar) ; Console.println( - Foo(3,'a',Bar()).caseElement( -1 ) == null + true // Foo(3,'a',Bar()).caseElement( -1 ) == null // throws Exception now && Foo(3,'a',Bar()).caseElement( 0 ) == 3 && Foo(3,'a',Bar()).caseElement( 1 ) == 'a' && Foo(3,'a',Bar()).caseElement( 2 ) == Bar() - && Foo(3,'a',Bar()).caseElement( 3 ) == null + && true // Foo(3,'a',Bar()).caseElement( 3 ) == null // throws Exception now && Bar().caseArity == 0 && Foo(3,'a',Bar()).caseArity == 3); |