AddMissingEnd#
Add missing END
token to FOR loops and IF statements.
Transformer configuration
AddMissingEnd is included in the default transformers, but it can be also run separately with:
robotidy --transform AddMissingEnd src
You can also disable AddMissingEnd:
robotidy --configure AddMissingEnd:enabled=False src
*** Test Cases ***
Test
FOR ${x} IN foo bar
Log ${x}
IF ${condition}
Log ${x}
IF ${condition}
Log ${y}
Keyword
*** Test Cases ***
Test
FOR ${x} IN foo bar
Log ${x}
END
IF ${condition}
Log ${x}
IF ${condition}
Log ${y}
END
END
Keyword