-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore comments in formatted Run Keywords (#707)
- Loading branch information
Showing
6 changed files
with
111 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Ignore comments in IndentNestedKeywords transformer (#702) | ||
---------------------------------------------------------- | ||
|
||
``IndentNestedKeywords`` moves comments before transformation. This is required in order to properly format different | ||
types of the source code (especially when expanding single line to multiple lines). However as side affect | ||
``IndentNestedKeywords`` moved the comments even if the code didn't require formatting:: | ||
|
||
*** Test Cases *** | ||
Keyword with commented out single line | ||
Run Keywords | ||
... No Operation | ||
# ... No Operation | ||
... No Operation | ||
|
||
In such case the code is already formatted and does not require moving the comments. After this release such | ||
comments will be left alone in a case where the code is already formatted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters