Fix off-by-one and misspelling (#1257)

This commit is contained in:
Will Urbanski
2020-10-15 10:22:38 -06:00
committed by GitHub
parent 8f72e4f710
commit acda0a41f6
@@ -609,9 +609,9 @@ class AtomicRunner():
# Gets Executors.
executors = get_valid_executors(tech)
if len(executors) < position:
if len(executors) - 1 < position:
print("The position '{}' couldn't be found.".format(position))
print("The teqhnique {} has {} available tests for the current platform. Skipping...".format(technique_name,len(executors)))
print("The technique {} has {} available tests for the current platform. Skipping...".format(technique_name,len(executors)))
return False
print("================================================")