arthurnn / minitest-emacs

A minitest mode for emacs
49 stars 26 forks source link

Issue with regex when test file contains mix of single and double quotes. #28

Closed benwah closed 8 years ago

benwah commented 8 years ago

Example, if your test file looks like this:

test '#method says hi' do
  # ..
end

test "#other_method says bye" do
  #..
end

... And your cursor is positioned in the second test (#other_method says bye), C-c , s will run the test above rather, because it matches the 1st regex in the list.

arthurnn commented 8 years ago

I noticed this problem, but never fixed. really awesome to see this fixed ❤️ thanks