Permalink
Browse files

Fix the test for selecting inner rubyblock.

Spoke too soon! The test was passing, but it contained an error.
  • Loading branch information...
1 parent 9d56d67 commit bf89218836f8bd67e9af08d33275d7e3c80575b2 @nelstrom committed Dec 22, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/basic.input
View
@@ -1,4 +1,4 @@
-" vim: filetype=vim
+" vim: filetype=vim foldmethod=marker
runtime! plugin/textobj/*.vim
function s:describe__global_variables()
@@ -36,7 +36,7 @@ function s:describe__default_key_mappings()
Should maparg('ie', 'v') ==# '<Plug>(textobj-rubyblock-i)'
endfunction
-"function s:describe__select_a()
+"function s:describe__select_a() {{{1
"It "<Plug>(textobj-rubyblock-a)"
"tabnew
@@ -54,7 +54,7 @@ endfunction
"Should [line("'<"), col("'<")] ==# [1, 1]
"Should [line("'>"), col("'>")] ==# [3, 4]
-"endfunction
+"endfunction }}}
function s:describe__select_i()
It "<Plug>(textobj-rubyblock-i)"
@@ -72,7 +72,7 @@ function s:describe__select_i()
execute "normal v\<Plug>(textobj-rubyblock-i)\<Esc>"
Should [line("'<"), col("'<")] ==# [2, 1]
- Should [line("'>"), col("'>")] ==# [3, 4]
+ Should [line("'>"), col("'>")] ==# [2, 14]
endfunction

0 comments on commit bf89218

Please sign in to comment.