Skip to content

Commit 28ebf08

Browse files
Fix wrong library attribution in the comment for Append To List (#96)
Append To List is from Collections Library : not BuiltIn Library https://robotframework.org/robotframework/latest/libraries/Collections.html#Append%20To%20List The inline comment in chapter-05/02_control_structures.md:297 says Append To List is a BuiltIn keyword, but it actually belongs to the [Collections](https://robotframework.org/robotframework/latest/libraries/Collections.html#Append%20To%20List) library (already imported on line 267 of the same example) ,, for a learner, could create confusion about which library each keyword comes from. if the intent was to say it is a built-in keyword ( a keyword that come with RF without installing any other dependency ) and we want to keep this intent, i have two suggestions : - Standard library keyword to append a value to a list (not very clear) - built-in ( written this way ) keyword to append a value to a list Co-authored-by: Gerwin <8427040+GerwinLaagland@users.noreply.github.com>
1 parent b21865a commit 28ebf08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/docs/chapter-05/02_control_structures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ Get Older Participants
294294
Log Participant ${participant.name} is older than 40
295295
# ^ Logs participant name if age is above the minimum
296296
Append To List ${older_participants} ${participant}
297-
# ^ BuiltIn keyword to append a value to a list
297+
# ^ Collections keyword to append a value to a list
298298
END
299299
RETURN ${older_participants}
300300
```

0 commit comments

Comments
 (0)