From: Jean Privat Date: Wed, 9 Feb 2011 16:44:44 +0000 (-0500) Subject: tests: use module instead of package X-Git-Tag: v0.4~8^2~7 X-Git-Url: http://nitlanguage.org tests: use module instead of package Signed-off-by: Jean Privat --- diff --git a/examples/fibonacci.nit b/examples/fibonacci.nit index fcf7426..e1a72c9 100644 --- a/examples/fibonacci.nit +++ b/examples/fibonacci.nit @@ -15,7 +15,7 @@ # limitations under the License. # A simple exemple of refinement where a method is added to the integer class. -package fibonacci +module fibonacci redef class Int # Calculate the self-th element of the fibonacci sequence. diff --git a/examples/print_arguments.nit b/examples/print_arguments.nit index 01e6cdc..3bdddc6 100644 --- a/examples/print_arguments.nit +++ b/examples/print_arguments.nit @@ -15,7 +15,7 @@ # limitations under the License. # How to print arguments of the command line. -package print_arguments +module print_arguments for a in args do print a diff --git a/examples/procedural_array.nit b/examples/procedural_array.nit index 8ceb3a8..838bda0 100644 --- a/examples/procedural_array.nit +++ b/examples/procedural_array.nit @@ -16,7 +16,7 @@ # A procedural program (without explicit class definition). # This program manipulates arrays of integers. -package procedural_array +module procedural_array # The sum of the elements of `a'. # Uses a 'for' control structure.