From 05d69cde84bd0f3f21ada995f5f15e88db4b16bb Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Thu, 2 Jun 2016 17:38:21 -0400 Subject: [PATCH] nitunit: md files do not need a location, just the filename Signed-off-by: Jean Privat --- src/testing/testing_doc.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.9.5