Skip to content

Commit a100df3

Browse files
committed
Fix :.Runner in test file
1 parent 8c151f6 commit a100df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,7 @@ function! s:readable_runner_command(bang, count, arg) dict abort
17041704
if arg =~# '^test/.*_test\.rb$'
17051705
let compiler = 'rubyunit'
17061706
if a:count > 0
1707-
let method = file.last_method(lnum)
1707+
let method = file.last_method(a:count)
17081708
if method =~ '^test_'
17091709
let extra = ' -n'.method
17101710
else

0 commit comments

Comments
 (0)