* fixes #20132; fixes the broken jsondoc comand * add testcase
This commit is contained in:
parent
7af484da94
commit
2aeb0d516b
3 changed files with 30 additions and 1 deletions
11
tests/misc/mjsondoc.nim
Normal file
11
tests/misc/mjsondoc.nim
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
proc doSomething*(x, y: int): int =
|
||||
## do something
|
||||
x + y
|
||||
|
||||
const
|
||||
a* = 1 ## echo 1234
|
||||
b* = "test"
|
||||
|
||||
type
|
||||
MyEnum* = enum
|
||||
foo, bar
|
||||
Loading…
Add table
Add a link
Reference in a new issue