From e5e8159d2bcd70c45aad7f952d57ff4f5a0af45b Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Thu, 17 Jul 2014 20:58:50 -0400 Subject: [PATCH] nitunit: remove a deprecated TODO Signed-off-by: Jean Privat --- src/nitunit.nit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nitunit.nit b/src/nitunit.nit index 56ffeff..627e223 100644 --- a/src/nitunit.nit +++ b/src/nitunit.nit @@ -203,12 +203,12 @@ redef class ModelBuilder var nmodule = mmodule2nmodule[mmodule] assert nmodule != null - # what module to import in the unit test. - # try to detect the main module of the project - # TODO do things correctly once the importation of arbitraty nested module is legal + # usualy, only the original module must be imported in the unit test. var o = mmodule var g = o.mgroup if g != null and g.mproject.name == "standard" then + # except for a unit test in a module of standard + # in this case, the whole standard must be imported o = get_mmodule_by_name(nmodule, g, g.mproject.name).as(not null) end -- 1.7.9.5