-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interpolate placeholders in tables #95
Conversation
|
||
then_ ~r/^the table data should (?<negation>not )?contain "(?<string>[^"]+)"$/, | ||
fn %{table_data: table_data} = state, %{negation: negation, string: string} -> | ||
contains = (for %{data: data} <- table_data, do: data) |> Enum.any?(&contains?(&1, string)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This actually won't quite work. Will fix in a few minutes.
OK, I think this is ready to merge now. |
Looks like the red build was an error, not a failure. @meadsteve Can you restart that build job? I don't have the permissions to. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍 I'll merge once the restarted build passes
Nice. Thanks for this 💯 I'll try and get it released later today. |
Great! |
@marnen now available as https://hex.pm/packages/white_bread/4.1.1 |
<Placeholders> in tables within scenario outlines were being treated as literal text. I've fixed that.