Skip to content

Commit

Permalink
docs: added documentation to test commands
Browse files Browse the repository at this point in the history
FossilOrigin-Name: e7f42226eecf4015b024910a4ec41b0a979b30d0d0efa7355bccb205e7bdf96f
  • Loading branch information
thindil committed May 19, 2024
1 parent 5f38fc7 commit fbf9bf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/commandslist.nim
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,14 @@ suite "Unit tests for commandslist module":
proc testCommand(arguments: UserInput; db: DbConn;
list: CommandLists): ResultCode {.gcsafe, raises: [], tags: [],
contractual.} =
## Dummy command for tests
body:
echo "test"

proc testCommand2(arguments: UserInput; db: DbConn;
list: CommandLists): ResultCode {.gcsafe, raises: [], tags: [],
contractual.} =
## Dummy command for tests
body:
echo "test2"
{.push ruleOn: "paramsUsed".}
Expand Down

0 comments on commit fbf9bf4

Please sign in to comment.