summary refs log tree commit diff stats
path: root/testament/lib/stdtest/specialpaths.nim
diff options
context:
space:
mode:
Diffstat (limited to 'testament/lib/stdtest/specialpaths.nim')
-rw-r--r--testament/lib/stdtest/specialpaths.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/testament/lib/stdtest/specialpaths.nim b/testament/lib/stdtest/specialpaths.nim
index 7df63666f..e214d113d 100644
--- a/testament/lib/stdtest/specialpaths.nim
+++ b/testament/lib/stdtest/specialpaths.nim
@@ -48,7 +48,7 @@ proc splitTestFile*(file: string): tuple[cat: string, path: string] =
       else:
         result.path = file
       return result
-  doAssert false, "file must match this pattern: '/pathto/tests/dir/**/tfile.nim', got: '" & file & "'"
+  raiseAssert "file must match this pattern: '/pathto/tests/dir/**/tfile.nim', got: '" & file & "'"
 
 static:
   # sanity check