-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
178: minor refactor of unittest implementation r=saem a=krux02 generally speaking unittesting is very important, but the unittest modules causes nothing but problems. The problem is, unittest pretty much uses all problematic metaprogramming APIs at the same time. This should be changed, step by step. * `template print(a,b: untyped)` -> `proc print[T](name: string, value: T)` * `newIdentNode(":c" & $counter)` -> `genSym` * `template assign` -> `newVarStmt` Co-authored-by: Arne Döring <a.doering@digiblue.de>
- Loading branch information
Showing
1 changed file
with
14 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters