From bb49e5487e9c4dc6b3ce0094ebc8027a3f1e50cf Mon Sep 17 00:00:00 2001 From: Joshua Davey Date: Sun, 4 Mar 2012 20:49:06 -0600 Subject: [PATCH] Support test/unit files that being with 'test_' --- plugin/turbux.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/turbux.vim b/plugin/turbux.vim index dce381b..9fb0656 100644 --- a/plugin/turbux.vim +++ b/plugin/turbux.vim @@ -25,7 +25,7 @@ endfunction function! s:prefix_for_test(file) if a:file =~# '_spec.rb$' return "rspec " - elseif a:file =~# '_test.rb$' + elseif a:file =~# '\(\