From: Jean Privat Date: Thu, 2 Jun 2016 21:38:21 +0000 (-0400) Subject: nitunit: md files do not need a location, just the filename X-Git-Url: http://nitlanguage.org nitunit: md files do not need a location, just the filename Signed-off-by: Jean Privat --- diff --git a/src/testing/testing_doc.nit b/src/testing/testing_doc.nit index 0c6d686..723e717 100644 --- 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)