X-Git-Url: http://nitlanguage.org diff --git a/tests/test_inheritance.nit b/tests/test_inheritance.nit index d08173f..dc9da19 100644 --- a/tests/test_inheritance.nit +++ b/tests/test_inheritance.nit @@ -15,34 +15,34 @@ # limitations under the License. class A - meth f do print(1) end - meth g do print(1) end - meth h do print(1) end - meth i do print(1) end + fun f do print(1) end + fun g do print(1) end + fun h do print(1) end + fun i do print(1) end init do end end class B -special A - redef meth g do print(2) end - redef meth i do print(2) end + super A + redef fun g do print(2) end + redef fun i do print(2) end init do end end class C -special A - redef meth h do print(3) end - redef meth i do print(3) end + super A + redef fun h do print(3) end + redef fun i do print(3) end init do end end class D -special B -special C - redef meth i do print(4) end + super B + super C + redef fun i do print(4) end init do end end