Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated syntax for repeating single keyword #1775

Closed
pekkaklarck opened this issue Aug 18, 2014 · 0 comments
Closed

Remove deprecated syntax for repeating single keyword #1775

pekkaklarck opened this issue Aug 18, 2014 · 0 comments

Comments

@pekkaklarck
Copy link
Member

We still support very old syntax for repeating a single keyword:

*** Test Cases ***
Example
    3x    Log    This is run three times

Repeating a single keyword is not that often needed in general and having special syntax for it is absolutely not worth it. It has been possible to use Repeat Keyword if repeating is actually needed since RF 2.0.4 (#192). This requires no extra syntax and is also more explicit:

*** Test Cases ***
Example
    Repeat Keyword    3x    Log    This is run three times

The old syntax for repeating a single keyword was originally deprecated in RF 2.0.4 (#193) and removed in RF 2.5 (#194), but it was added back in RF 2.5.5 (#731) because removing caused problems to some users. Deprecation warning was kept and it ought to be now safe to finally remove this old and useless functionality altogether.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant