Permalink
Browse files

fix test matcher

  • Loading branch information...
1 parent 8cc1fd0 commit 69bd6479465f332779e603b6ebda386a1cd49668 @gfx gfx committed Dec 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/jsx.vim
View
@@ -189,7 +189,7 @@ function! jsx#test_it() abort
let l = line('.')
let c = col('.')
- let pattern = '\(test\w\+\).*'
+ let pattern = '\(\C\<test\w\+\).*'
if search(pattern, 'bcW') == 0
echo "no test method found"

0 comments on commit 69bd647

Please sign in to comment.