Remove access modifiers from inner templates
Fixes options.nim tests
This commit is contained in:
parent
46f59a7c59
commit
70f14aa578
1 changed files with 2 additions and 2 deletions
|
|
@ -63,10 +63,10 @@ proc shouldRun(testName: string): bool =
|
||||||
|
|
||||||
template suite*(name: expr, body: stmt): stmt {.immediate, dirty.} =
|
template suite*(name: expr, body: stmt): stmt {.immediate, dirty.} =
|
||||||
block:
|
block:
|
||||||
template setup*(setupBody: stmt): stmt {.immediate, dirty.} =
|
template setup(setupBody: stmt): stmt {.immediate, dirty.} =
|
||||||
template testSetupIMPL: stmt {.immediate, dirty.} = setupBody
|
template testSetupIMPL: stmt {.immediate, dirty.} = setupBody
|
||||||
|
|
||||||
template teardown*(teardownBody: stmt): stmt {.immediate, dirty.} =
|
template teardown(teardownBody: stmt): stmt {.immediate, dirty.} =
|
||||||
template testTeardownIMPL: stmt {.immediate, dirty.} = teardownBody
|
template testTeardownIMPL: stmt {.immediate, dirty.} = teardownBody
|
||||||
|
|
||||||
body
|
body
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue