nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece9ae1
)
nitunit: md files do not need a location, just the filename
author
Jean Privat
<jean@pryen.org>
Thu, 2 Jun 2016 21:38:21 +0000
(17:38 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 2 Jun 2016 21:58:34 +0000
(17:58 -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
0c6d686
..
723e717
100644
(file)
--- a/
src/testing/testing_doc.nit
+++ b/
src/testing/testing_doc.nit
@@
-547,7
+547,7
@@
redef class ModelBuilder
fun test_mdoc(mdoc: MDoc): HTMLTag
do
var ts = new HTMLTag("testsuite")
- var file = mdoc.location.to_s
+ var file = mdoc.location.file.filename
toolcontext.info("nitunit: doc-unit file {file}", 2)