Skip to content

Commit

Permalink
Merge pull request pitluga#8 from dewyze/ignore_class_method_and_setU…
Browse files Browse the repository at this point in the history
…pClass

Fix typo, and adjust regex search for "class"
  • Loading branch information
pitluga committed Jun 6, 2016
2 parents 1f1d47f + 64a4b24 commit b9dfbb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/vimux-nose-test.vim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
" Backwards compatibility
command! RunAllNoseTests :call RunNoseTestBuffer()
command! RunFocusedNoseTests :call RunNoseTestFocued()
command! RunFocusedNoseTests :call RunNoseTestFocused()

command! RunNoseTest :call _run_nosetests("")
command! RunNoseTestBuffer :call RunNoseTestBuffer()
Expand All @@ -11,7 +11,7 @@ function! RunNoseTestBuffer()
endfunction

function! RunNoseTestFocused()
let test_class = _nose_test_search("class")
let test_class = _nose_test_search("class ")
let test_name = _nose_test_search("def test_")

if test_class == "" || test_name == ""
Expand Down

0 comments on commit b9dfbb2

Please sign in to comment.