[Bug] Not enough whitespace after ... mark is recognized as new variable
See original GitHub issueThis code:
${VARIABLE}=
... """ ${\n}
... data: ${\n}
... ( a b c ) = ( 1 2 3 ) ${\n}
... """
produces:
test.robot:23:0 [E] 0803 Multiple variables with name "... """" in Variables section. Note that Robot Framework is case-insensitive (duplicated-variable)
test.robot:26:0 [E] 0803 Multiple variables with name "... """" in Variables section. Note that Robot Framework is case-insensitive (duplicated-variable)
I think it should rather be catched by “not-enough-whitespace-after-newline-marker” rule (but it’s keyword naming rule… maybe we should export it to be general rule checking all statements that starts from the beginning of line and contains …?)
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
bug #712: GNU make can't handle spaces in pathnames
I'm retitling this bug to be a catch-all for the fact that GNU make doesn't handle spaces will in pathnames, period: not just...
Read more >variable declaration whitespace violation: let and var should ...
In general, a binding expression can be recognized by having var and : . It may or may not introduce a new name...
Read more >Set a path variable with spaces in the path in a Windows .cmd ...
Try something like this: SET MY_PATH=C:\Folder with a space "%MY_PATH%\MyProgram.exe" /switch1 /switch2.
Read more >Variable name with any character and whitespace · Issue #1982
I know it's an old habit to use camelCased variable names but I just don't know why we still have to do that....
Read more >How to remove extra white space with Variable Editor in new ...
This white space only appears if the Variable Editor is placed within a tab (form section), but not in the main (parent) section,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

So there are two tasks a) make duplicated-variable immune to … not enough whitespace b) export not-enough-whitespace-after-newline-marker to spacing rules and match more cases (keywords, variables, imports, settings).
Feel free to submit issues, and PRs, about error messages that can be enhanced!