diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-06-21 22:59:28 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-06-21 22:59:28 +0200 |
commit | 85babd6db65afb0eb06a7a9a0778d692248c5c2b (patch) | |
tree | 1754310ae9d7af76bfc66f683deef76e2cedff59 /src/testdir/test_ruby.in | |
parent | f50df3925b7c909d1cda4c868d8c7ba38189aabe (diff) | |
download | vim-85babd6db65afb0eb06a7a9a0778d692248c5c2b.zip |
patch 7.4.1951
Problem: Ruby test is old style.
Solution: Convert to a new style test. (Ken Takata)
Diffstat (limited to 'src/testdir/test_ruby.in')
-rw-r--r-- | src/testdir/test_ruby.in | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/testdir/test_ruby.in b/src/testdir/test_ruby.in deleted file mode 100644 index 71d21eb23..000000000 --- a/src/testdir/test_ruby.in +++ /dev/null @@ -1,25 +0,0 @@ -Tests for ruby interface. vim: set ft=vim : - -STARTTEST -:so small.vim -:set nocompatible viminfo+=nviminfo -:if !has('ruby') | e! test.ok | wq! test.out | endif -:" change buffer contents -:ruby VIM.command("normal /^1\n") -:ruby $curbuf.line = "1 changed line 1" -:" evaluate a List -:ruby VIM.command("normal /^2\n") -:let l = ["abc", "def"] -:ruby << EOF -curline = $curbuf.line_number -l = VIM.evaluate("l"); -$curbuf.append(curline, l.join("\n")) -EOF -:normal j -:.rubydo $_ = $_.gsub(/\n/, '/') -:?^1?,$w! test.out -:qa! -ENDTEST - -1 line 1 -2 line 2 |