contracts: change the contract syntax
[nit.git] / tests / base_init_simple.nit
index 1ebe670..d1f8f3f 100644 (file)
@@ -9,11 +9,11 @@ end
 class B
        super A
        #alt1#redef init do '1'.output
-       init do '1'.output #!alt1#
+       init do '1'.output #alt1#
        #alt1#redef init init2 do '2'.output
-       init init2 do '2'.output #!alt1#
+       redef init init2 do '2'.output #alt1#
        #alt1#redef init init3 do '3'.output
-       init init3 do '3'.output #!alt1#
+       init init3 do '3'.output #alt1#
 end
 
 (new A).foo