robotframework.github.com icon indicating copy to clipboard operation
robotframework.github.com copied to clipboard

Nitpick: wrong comments in the Getting Started "FOR Loops" example

Open Lenormju opened this issue 2 years ago • 2 comments

It is a very minor issue. I would have fixed it myself, but I don't understand Vue enough to find how. On the homepage, the Getting Started section features a live editor to play with some examples. One of them is about FOR Loops. In it, the file 1_in.robot contains :

@{mammals}    cat    dog    cow

[...]

Loop over list
    Log To Console    Four mammals:
    FOR   ${var}    IN    @{mammals}
        Log To Console    ${var}
    END

But there is only 3 mammals, not 4. The same goes for the birds. But there is actually 4 users.

Lenormju avatar Apr 28 '22 11:04 Lenormju

Screenshot 2022-08-06 at 11 57 35 I can see the problem. Actually examples are hosted in another repository.

mkorpela avatar Aug 06 '22 08:08 mkorpela

@mkorpela which repository are the examples hosted in? I found a similar issue in the comments of the FOR-Loops example's 3_in_range.robot

mdhtr avatar Apr 22 '24 09:04 mdhtr