summary refs log tree commit diff stats
path: root/testament
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2024-01-25 14:10:32 +0800
committerGitHub <noreply@github.com>2024-01-25 14:10:32 +0800
commit0b363442e5ffc715347b2d258cd5d98fcd653b5f (patch)
treef6f90309dfc80bcd9aaccfc38a96f6faf3b65737 /testament
parent9c155eacccbf437f907230621aee7e9f16f28930 (diff)
downloadNim-0b363442e5ffc715347b2d258cd5d98fcd653b5f.tar.gz
fixes broken doc links (#23255)
https://nim-lang.github.io/Nim/testament.html#writing-unit-tests 

https://nim-lang.github.io/Nim/testament.html#writing-unit-tests-output-message-variable-interpolation
Diffstat (limited to 'testament')
-rw-r--r--testament/specs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/testament/specs.nim b/testament/specs.nim
index 5107c9ed7..c3040c1d8 100644
--- a/testament/specs.nim
+++ b/testament/specs.nim
@@ -513,7 +513,7 @@ proc parseSpec*(filename: string): TSpec =
     try:
       msg % ["/", $DirSep, "file", result.filename]
     except ValueError:
-      result.parseErrors.addLine "invalid variable interpolation (see 'https://nim-lang.github.io/Nim/testament.html#writing-unitests-output-message-variable-interpolation')"
+      result.parseErrors.addLine "invalid variable interpolation (see 'https://nim-lang.github.io/Nim/testament.html#writing-unit-tests-output-message-variable-interpolation')"
       msg
   result.nimout = result.nimout.varSub
   result.msg = result.msg.varSub