Skip to content

Commit 9525975

Browse files
Snooz82asimell
andauthored
Apply suggestions from code review
Co-authored-by: Aleksi Simell <[email protected]>
1 parent 41a599f commit 9525975

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/docs/chapter-02/05_keyword_interface.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Default values are defined and represented in the docs by the equal sign `=` aft
191191

192192
Also "Variable Number of Positional Arguments", represented with a single star (`*`) prefix, and "Free Named Arguments", represented with a double star (`**`) prefix are optional arguments.
193193

194-
i.e. the argument `msg` in the `Should Be Equal` keyword documentation has the default value `None` and `ignore_case` has the default value `False`.
194+
E.g. the argument `msg` in the `Should Be Equal` keyword documentation has the default value `None` and `ignore_case` has the default value `False`.
195195

196196
In that particular keyword these optional arguments can be used to activate some special features like ignoring the case of the compared strings or to provide a custom error message.
197197

@@ -233,11 +233,11 @@ Foundation Page should be Accessible
233233
And the url should be https://robotframework.org/foundation
234234
```
235235
The optional prefixes `Given`, `When`, `Then`, `And` and `But` are basically ignored by Robot Framework if a keyword is found matching the rest of the name including the embedded arguments.
236-
In the before given example some keywords are designed so that the arguments are surrounded by double quotes `"` for better visibility.
236+
In the example test case some keywords are designed so that the arguments are surrounded by double quotes (`"`) for better visibility.
237237

238238
A mix of embedded arguments and "normal" arguments is possible to fully support BDD.
239239
In the keyword documentation the embedded arguments are written in variable syntax with dollar-curly-braces (`${var_name}`) to indicate that they are not part of the keyword name but are arguments.
240-
They can also be defined using regular expressions to allow for more complex argument structures, which is not part of that syllabus.
240+
They can also be defined using regular expressions to allow for more complex argument structures, which is not part of this syllabus.
241241

242242

243243
### 2.5.2.4 Positional or Named Arguments

0 commit comments

Comments
 (0)