From 25cbcfa0f608d08476ac40ea883c35ff8796f58c Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 17 Jun 2015 11:12:16 -0400 Subject: [PATCH] nitunit: bad code count as code (to avoid more failures that code) Signed-off-by: Jean Privat --- src/testing/testing_doc.nit | 1 + 1 file changed, 1 insertion(+) 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) -- 1.7.9.5