Repeated 'the' within the error message for use of an alternation inside an optional.
π What did you see?
Through an issue raised on the Visual Studio Code extension (cucumber/vscode#142), it was observed that the error message for use of an alternation inside an optional includes a repeated 'the' in its second line:
An alternation can not be used inside an optional.
You can use '\/' to escape the the '/'
β What did you expect to see?
Single 'the':
An alternation can not be used inside an optional.
You can use '\/' to escape the '/'
π¦ Which tool/library version are you using?
Cucumber Expressions: 16.1.2
Cucumber Visual Studio Code extension: 1.8.0
π¬ How could we reproduce it?
Install the Visual Studio Code extension
Create a step definition with an alternation inside an optional
import { When } from 'cypress-cucumber-preprocessor/steps'
const { wait } = cy
When('entro no detalhe d(a/o) {string}', () => {
wait('@apisRequests')
})
Check the logs of the Cucumber Language Server in the Output window
Repeated 'the' within the error message for use of an alternation inside an optional.
π What did you see?
Through an issue raised on the Visual Studio Code extension (cucumber/vscode#142), it was observed that the error message for use of an alternation inside an optional includes a repeated 'the' in its second line:
β What did you expect to see?
Single 'the':
π¦ Which tool/library version are you using?
Cucumber Expressions: 16.1.2 Cucumber Visual Studio Code extension: 1.8.0
π¬ How could we reproduce it?
Install the Visual Studio Code extension
Create a step definition with an alternation inside an optional
Check the logs of the Cucumber Language Server in the Output window