summary refs log tree commit diff stats
path: root/tests/nimdoc/m13129.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nimdoc/m13129.nim')
-rw-r--r--tests/nimdoc/m13129.nim4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/nimdoc/m13129.nim b/tests/nimdoc/m13129.nim
index 95d072d52..145cae39c 100644
--- a/tests/nimdoc/m13129.nim
+++ b/tests/nimdoc/m13129.nim
@@ -17,11 +17,9 @@ proc main*() =
     doAssert defined(m13129Foo2)
     doAssert not defined(nimdoc)
     echo "ok2: backend: " & querySetting(backend)
-    # echo defined(c), defined(js), 
 
 import std/compilesettings
 when defined nimdoc:
-  # import std/compilesettings
   static:
     doAssert defined(m13129Foo1)
     doAssert not defined(m13129Foo2)
@@ -33,6 +31,6 @@ when isMainModule:
     let cache = querySetting(nimcacheDir)
     doAssert cache.len > 0
     let app = getAppFilename()
-    doAssert app.isRelativeTo(cache)
+    doAssert app.isRelativeTo(cache), $(app, cache)
     doAssert querySetting(projectFull) == currentSourcePath
     echo "ok3"