- Notifications
You must be signed in to change notification settings - Fork84
Open
Description
The example2_Lists.robot in the Variables in the "Getting started" section contains a mistake, seehttps://robotframework.org/?tab=0&example=Variables#getting-started
Incorrect example:
Test with some Collections keywords ${list}= Create List 1 2 3 Append To List ${list} 4 5 6 ${list2}= Create List 7 8 9 ${new_list}= Combine Lists ${list} ${list2} ${reversed}= Reverse List ${new_list} Log To Console ${reversed}The keywordCombine Lists does not return any values, but only affects to the variable given to the keyword. As a result, the last line will log aNone value.
Correction:
Reverse List ${new_list} Log To Console The reversed list: ${new_list}Metadata
Metadata
Assignees
Labels
No labels