File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -280,8 +280,8 @@ def exec_foundry_prove(
280
280
_ignore_arg (kwargs , 'spec_module' , f'--spec-module: { kwargs ["spec_module" ]} ' )
281
281
if workers <= 0 :
282
282
raise ValueError (f'Must have at least one worker, found: --workers { workers } ' )
283
- if max_iterations is not None and max_iterations <= 0 :
284
- raise ValueError (f'Must have at least one iteration , found: --max-iterations { max_iterations } ' )
283
+ if max_iterations is not None and max_iterations < 0 :
284
+ raise ValueError (f'Must have a non-negative number of iterations , found: --max-iterations { max_iterations } ' )
285
285
definition_dir = foundry_out / 'kompiled'
286
286
use_directory = foundry_out / 'specs'
287
287
use_directory .mkdir (parents = True , exist_ok = True )
You can’t perform that action at this time.
0 commit comments