Fix warning about sets.testModule() not used.

This commit is contained in:
ReneSac 2015-04-04 15:28:38 -03:00
commit e41a3e9661

View file

@ -798,6 +798,7 @@ proc `==`*[A](s, t: OrderedSet[A]): bool =
g = nxg g = nxg
result = compared == s.counter result = compared == s.counter
when isMainModule and not defined(release):
proc testModule() = proc testModule() =
## Internal micro test to validate docstrings and such. ## Internal micro test to validate docstrings and such.
block isValidTest: block isValidTest:
@ -971,4 +972,4 @@ proc testModule() =
echo "Micro tests run successfully." echo "Micro tests run successfully."
when isMainModule and not defined(release): testModule() testModule()