From 34dc299b50676aba4f942fdbbcc60442d768432b Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 9 Feb 2011 11:44:44 -0500 Subject: [PATCH] tests: use module instead of package Signed-off-by: Jean Privat --- examples/fibonacci.nit | 2 +- examples/print_arguments.nit | 2 +- examples/procedural_array.nit | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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. -- 1.7.9.5