diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/misc.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/misc.scala b/test/files/run/misc.scala index b705606342..4ae0f37007 100644 --- a/test/files/run/misc.scala +++ b/test/files/run/misc.scala @@ -222,9 +222,9 @@ Console.println; Console.println( true // Foo(3,'a',Bar()).caseElement( -1 ) == null // throws Exception now - && Foo(3,'a',Bar()).element( 1 ) == 3 - && Foo(3,'a',Bar()).element( 2 ) == 'a' - && Foo(3,'a',Bar()).element( 3 ) == Bar() + && Foo(3,'a',Bar()).element( 0 ) == 3 + && Foo(3,'a',Bar()).element( 1 ) == 'a' + && Foo(3,'a',Bar()).element( 2 ) == Bar() && true // Foo(3,'a',Bar()).caseElement( 3 ) == null // throws Exception now && Bar().arity == 0 && Foo(3,'a',Bar()).arity == 3); |