nitunit: special case in on `core` now
authorJean Privat <jean@pryen.org>
Wed, 26 Aug 2015 19:01:42 +0000 (15:01 -0400)
committerJean Privat <jean@pryen.org>
Thu, 27 Aug 2015 01:58:40 +0000 (21:58 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/testing/testing_doc.nit

index b79d1c8..4a4e33c 100644 (file)
@@ -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