Skip to content
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

Multi-line feature / do blocks are not detected #111

Open
lessthanseventy opened this issue Apr 20, 2022 · 0 comments
Open

Multi-line feature / do blocks are not detected #111

lessthanseventy opened this issue Apr 20, 2022 · 0 comments

Comments

@lessthanseventy
Copy link
Contributor

lessthanseventy commented Apr 20, 2022

\ 'test': ["^\\s*test\\s+['\"](.+)['\"](,\\s+%{.+})*\\s+do", "^\\s*feature\\s+['\"](.+)['\"](,\\s+%{.+})*\\s+do",],

This regex pattern does not match tests / features that are in the form of:

test "this is a test", %{
conn: conn,
stuff: stuff} do
  test_things
  |> other_things()
end

It only works if test is on the same line as do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant