Skip to content

Commit

Permalink
Just a final check to make sure it works with lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ire4ever1190 committed Dec 26, 2024
1 parent 2555deb commit da4a8cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/misc/mrawjson.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Module description. See [someProc]
## another line

proc someProc*(a, b: int) =
## Code should be used like `someProc(1, 2)`
2 changes: 1 addition & 1 deletion tests/misc/trunner.nim
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ sub/mmain.idx""", context
doAssert exitCode == 0, msg

let data = parseFile(output)
doAssert data["moduleDescription"].getStr == "Module description. See [someProc]", data["moduleDescription"].getStr
doAssert data["moduleDescription"].getStr == "Module description. See [someProc]\nanother line"
let someProc = data["entries"][0]
doAssert someProc["description"].getStr == "Code should be used like `someProc(1, 2)`"

Expand Down

0 comments on commit da4a8cd

Please sign in to comment.