Status: Accepted Owner: janne.t.harkonen Labels: Type-Enhancement Priority-Low Target-2.5
New issue 560 by janne.t.harkonen: For loop without body or without values should fail
http://code.google.com/p/robotframework/issues/detail?id=560 These two cases should cause a runtime error: :FOR | ${v} | IN | @{list} | | | Some other keywords... : FOR | ${v} | IN | | Log | ${v} | In the first case, the for loop contains no steps and in the second there are no values to loop through. This should work regardless whether @{list} is empty or not. : FOR | ${v} | IN | @{list} | Log | ${v} |
