nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b8395
)
frontend: disable warnings for test modules
author
Alexandre Terrasa
<alexandre@moz-code.org>
Tue, 6 Jun 2017 05:16:27 +0000
(
01:16
-0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Wed, 6 Sep 2017 22:58:06 +0000
(18:58 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/frontend/no_warning.nit
patch
|
blob
|
history
diff --git
a/src/frontend/no_warning.nit
b/src/frontend/no_warning.nit
index
97efb63
..
54d9a01
100644
(file)
--- a/
src/frontend/no_warning.nit
+++ b/
src/frontend/no_warning.nit
@@
-48,8
+48,8
@@
private class NoWarningPhase
var modelbuilder = toolcontext.modelbuilder
- # Disable `missing-doc` for `test_suite`
- if source != null and not nmoduledecl.get_annotations("test_suite").is_empty then
+ # Disable `missing-doc` for `test`
+ if source != null and not nmoduledecl.get_annotations("test").is_empty then
toolcontext.warning_blacklist[source].add("missing-doc")
end