Tyler-Keith-Thompson / CucumberSwift

A lightweight swift Cucumber implementation
https://tyler-keith-thompson.github.io/CucumberSwift/documentation/cucumberswift/
MIT License
74 stars 19 forks source link

Generated steps with match #102

Open MarekSlaninka opened 1 month ago

MarekSlaninka commented 1 month ago

Describe the bug

When steps are generated from step like this:

And User should see "103 out of 105 remaining to complete category" chapter summary text now generated step loks like this:

Then(/^User should see \"(.*?)\" chapter summary text$/) { matches, _ in
    let string = matches[1]
}

but when I insert it into code then xcode is giving me error message: Snímka obrazovky 2024-07-18 o 13 53 07

What am I doing wrong?

Than You

Additional context Add any other context about the problem here.