commit | c574f6de88d3772b5389ac7c83ceba9c8295bd10 | [log] [tgz] |
---|---|---|
author | Luc Tielen <luc.tielen@gmail.com> | Sun Oct 18 13:28:03 2015 +0200 |
committer | Luc Tielen <luc.tielen@gmail.com> | Sun Oct 18 13:28:03 2015 +0200 |
tree | aff06a246444ad109e9a95665c3a96e17c737132 | |
parent | 819103dd27d6c244ff0f7b799de067b066a431b2 [diff] |
Added extra guard clause
diff --git a/src/triq.erl b/src/triq.erl index 25a9422..2ba08fe 100644 --- a/src/triq.erl +++ b/src/triq.erl
@@ -314,7 +314,7 @@ check(Property) -> check(Property, [], ?TEST_COUNT). -check(Module, RunIters) when is_atom(Module), RunIters>0 -> +check(Module, RunIters) when is_atom(Module), is_integer(RunIters), RunIters>0 -> module(Module, RunIters); check(Property, RunIters) when is_integer(RunIters), RunIters>0 -> check(Property, [], RunIters);