summary refs log tree commit diff stats
path: root/testament
diff options
context:
space:
mode:
authorflywind <43030857+xflywind@users.noreply.github.com>2021-01-11 00:26:52 -0600
committerGitHub <noreply@github.com>2021-01-10 22:26:52 -0800
commit510e383d9233641a82ef25d3e3fe3e2eba3a4388 (patch)
treee19f83a90fb5b2328744c02bedcafd1afe430a0d /testament
parent2c6f5ae6815367dcb44e441c8f3bda2e2513b061 (diff)
downloadNim-510e383d9233641a82ef25d3e3fe3e2eba3a4388.tar.gz
add error messages (#16679)
Diffstat (limited to 'testament')
-rw-r--r--testament/testament.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/testament/testament.nim b/testament/testament.nim
index 5686da81c..314a83936 100644
--- a/testament/testament.nim
+++ b/testament/testament.nim
@@ -795,7 +795,7 @@ proc main() =
     var subPath = p.key.string
     let nimRoot = currentSourcePath / "../.."
       # makes sure points to this regardless of cwd or which nim is used to compile this.
-    doAssert dirExists(nimRoot/testsDir) # sanity check
+    doAssert(dirExists(nimRoot/testsDir), nimRoot/testsDir & " doesn't exist!") # sanity check
     if subPath.isAbsolute: subPath = subPath.relativePath(nimRoot)
     # at least one directory is required in the path, to use as a category name
     let pathParts = subPath.relativePath(testsDir).split({DirSep, AltSep})