ringabout
2024-01-25 14:10:32 +08:00
committed by GitHub
parent 9c155eaccc
commit 0b363442e5
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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