From: Jean Privat Date: Wed, 26 Aug 2015 19:01:42 +0000 (-0400) Subject: nitunit: special case in on `core` now X-Git-Tag: v0.7.8~67^2~1 X-Git-Url: http://nitlanguage.org nitunit: special case in on `core` now Signed-off-by: Jean Privat --- diff --git a/src/testing/testing_doc.nit b/src/testing/testing_doc.nit index b79d1c8..4a4e33c 100644 --- a/src/testing/testing_doc.nit +++ b/src/testing/testing_doc.nit @@ -381,9 +381,9 @@ redef class ModelBuilder # 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 + if g != null and g.mproject.name == "core" then + # except for a unit test in a module of `core` + # in this case, the whole `core` must be imported o = get_mmodule_by_name(nmodule, g, g.mproject.name).as(not null) end