From 78fe2a03032348b14c014550a2afcacad9ff9a2a Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 26 Aug 2015 15:01:42 -0400 Subject: [PATCH] nitunit: special case in on `core` now Signed-off-by: Jean Privat --- src/testing/testing_doc.nit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 1.7.9.5