tests: remove superfluous super-classes in some tests
authorJean Privat <jean@pryen.org>
Tue, 6 Aug 2013 15:15:12 +0000 (11:15 -0400)
committerJean Privat <jean@pryen.org>
Tue, 6 Aug 2013 15:15:12 +0000 (11:15 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/syntax_annotations2.nit
tests/test_gen_inh.nit

index 740a262..18dec64 100644 (file)
@@ -27,8 +27,8 @@ end
 class A
        annot
        super Toto is annot
-       super Toto is annot, annot2
-       super Toto is
+       super Tata is annot, annot2
+       super Titi is
                annot
                annot2
        end
@@ -50,5 +50,9 @@ class A
        end
 end
 
-class Toto
+interface Toto
+end
+interface Tata
+end
+interface Titi
 end
index d31db4b..bad6da1 100644 (file)
@@ -17,7 +17,7 @@
 import kernel
 
 class Gen1[E, F]
-       super Object
+
    readable writable var _e: E
    var _f_: F
    fun f: F do return _f_ end