mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user