This commit is contained in:
parent
4ee6eddad4
commit
0de3d4292f
8 changed files with 108 additions and 46 deletions
11
tests/nimdoc/trunnableexamples2.nim
Normal file
11
tests/nimdoc/trunnableexamples2.nim
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
discard """
|
||||
cmd: "nim doc --doccmd:-d:testFooExternal --hints:off $file"
|
||||
action: "compile"
|
||||
joinable: false
|
||||
"""
|
||||
|
||||
# pending bug #18077, merge back inside trunnableexamples.nim
|
||||
when true: # runnableExamples with rdoccmd
|
||||
runnableExamples "-d:testFoo -d:testBar":
|
||||
doAssert defined(testFoo) and defined(testBar)
|
||||
doAssert defined(testFooExternal)
|
||||
Loading…
Add table
Add a link
Reference in a new issue