summaryrefslogtreecommitdiff
path: root/src/testdir/test_ruby.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-06-21 22:59:28 +0200
committerBram Moolenaar <Bram@vim.org>2016-06-21 22:59:28 +0200
commit85babd6db65afb0eb06a7a9a0778d692248c5c2b (patch)
tree1754310ae9d7af76bfc66f683deef76e2cedff59 /src/testdir/test_ruby.in
parentf50df3925b7c909d1cda4c868d8c7ba38189aabe (diff)
downloadvim-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.in25
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