X-Git-Url: http://nitlanguage.org diff --git a/tests/module_2.nit b/tests/module_2.nit index a7a944e..8499bb9 100644 --- a/tests/module_2.nit +++ b/tests/module_2.nit @@ -1,7 +1,5 @@ # This file is part of NIT ( http://www.nitlanguage.org ). # -# Copyright 2004-2008 Jean Privat -# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -14,52 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -import module_1 - -redef class A # class 3 - redef fun a13 - do - print(13) - print(3) - end - redef fun a123 - do - print(123) - print(3) - end - - init do end -end - -# B is class 4 - -class C # class 5 -special B - redef fun all25 - do - print(250) - print(5) - a1 - a12 - a13 - a123 - end - - init do end -end - -var a = new A -var c = new C -a.a1 -a.a12 -a.a13 -a.a123 -print(0) -c.a1 -c.a12 -c.a13 -c.a123 -print(0) -c.all2 -print(0) -c.all25 +import module_0