Skip to content

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

@lessthanseventy

Description

@lessthanseventy

\ '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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions