rcarriga / vim-ultest

The ultimate testing plugin for (Neo)Vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi-line feature / do blocks are not detected

lessthanseventy opened this issue · comments

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