From: Jean Privat Date: Wed, 17 Jun 2015 15:12:16 +0000 (-0400) Subject: nitunit: bad code count as code (to avoid more failures that code) X-Git-Tag: v0.7.6~20^2~2 X-Git-Url: http://nitlanguage.org nitunit: bad code count as code (to avoid more failures that code) Signed-off-by: Jean Privat --- diff --git a/src/testing/testing_doc.nit b/src/testing/testing_doc.nit index 1d6096e..b79d1c8 100644 --- a/src/testing/testing_doc.nit +++ b/src/testing/testing_doc.nit @@ -76,6 +76,7 @@ class NitUnitExecutor var ne = new HTMLTag("failure") ne.attr("message", msg) tc.add ne + toolcontext.modelbuilder.unit_entities += 1 toolcontext.modelbuilder.failed_entities += 1 end if blocks.is_empty then testsuite.add(tc)