summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/manual.md2
-rw-r--r--testament/specs.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual.md b/doc/manual.md
index 1de7f32b4..65a4472e7 100644
--- a/doc/manual.md
+++ b/doc/manual.md
@@ -267,7 +267,7 @@ You can also use the [discard statement](#statements-and-expressions-discard-sta
   ```
 
 This was how multiline comments were done before version 0.13.0,
-and it is used to provide specifications to [testament](testament.html#writing-unitests) test framework.
+and it is used to provide specifications to [testament](testament.html#writing-unit-tests) test framework.
 
 
 Identifiers & Keywords
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