Skip to content

Commit

Permalink
treat *_test.py files as candidate test files
Browse files Browse the repository at this point in the history
  • Loading branch information
garybernhardt committed Jan 11, 2015
1 parent c90d761 commit 3a9664f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ function! RunTestFile(...)
endif

" Run the tests for the previously-marked file.
let in_test_file = match(expand("%"), '\(.feature\|_spec.rb\)$') != -1
let in_test_file = match(expand("%"), '\(.feature\|_spec.rb\|_test.py\)$') != -1
if in_test_file
call SetTestFile()
elseif !exists("t:grb_test_file")
Expand Down

0 comments on commit 3a9664f

Please sign in to comment.