nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7309576
)
nitunit: bad code count as code (to avoid more failures that code)
author
Jean Privat
<jean@pryen.org>
Wed, 17 Jun 2015 15:12:16 +0000
(11:12 -0400)
committer
Jean Privat
<jean@pryen.org>
Wed, 17 Jun 2015 15:12:16 +0000
(11:12 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/testing/testing_doc.nit
patch
|
blob
|
history
diff --git
a/src/testing/testing_doc.nit
b/src/testing/testing_doc.nit
index
1d6096e
..
b79d1c8
100644
(file)
--- 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
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)
toolcontext.modelbuilder.failed_entities += 1
end
if blocks.is_empty then testsuite.add(tc)