openbmc / openbmc-test-automation

Apache License 2.0
100 stars 92 forks source link

Robot code in single line #2209

Closed susilsi7 closed 1 year ago

susilsi7 commented 1 year ago

Are Robot code allowed to write in single line ?

Sample Code :

Return From Keyword If '${item}' == '${element}' ${index}

Return From Keyword If  '${item}' == '${element}' 
...  ${index}
gkeishin commented 1 year ago

Yes @susilsi7 . it works both way.

susilsi7 commented 1 year ago

I was talking with respect to coding guidelines. which one to use.