tests: use module instead of package
authorJean Privat <jean@pryen.org>
Wed, 9 Feb 2011 16:44:44 +0000 (11:44 -0500)
committerJean Privat <jean@pryen.org>
Fri, 11 Feb 2011 20:44:36 +0000 (15:44 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

examples/fibonacci.nit
examples/print_arguments.nit
examples/procedural_array.nit

index fcf7426..e1a72c9 100644 (file)
@@ -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.
index 01e6cdc..3bdddc6 100644 (file)
@@ -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
index 8ceb3a8..838bda0 100644 (file)
@@ -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.