summaryrefslogtreecommitdiff
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-15 13:29:11 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-15 13:29:11 +0200
commitd732f9aee0926487514f30d299d91a43afd3b458 (patch)
tree8086719df0f9a592656372f2488d9c4f1d345b02 /src/testdir
parent10d4664330b9379d5a54aa60c80c8069f73d822c (diff)
downloadvim-d732f9aee0926487514f30d299d91a43afd3b458.zip
Two fixes for :find completion and more testing. (Nazri Ramliy)
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test73.in8
-rw-r--r--src/testdir/test73.ok1
2 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test73.in b/src/testdir/test73.in
index 3518e8087..5472247e7 100644
--- a/src/testdir/test73.in
+++ b/src/testdir/test73.in
@@ -150,6 +150,14 @@ SVoyager 2:w
:exec "cd " . cwd . "/Xfind/in"
:find file
:exec "w >>" . test_out
+:" Test for relative to current buffer 'path' item
+:exec "cd " . cwd . "/Xfind/"
+:set path=./path
+:" Open the file where Jimmy Hoffa is found
+:e in/file.txt
+:" Find the file containing 'E.T.' in the Xfind/in/path directory
+:find file
+:exec "w >>" . test_out
:q
:exec "cd " . cwd
:call DeleteDirectory("Xfind")
diff --git a/src/testdir/test73.ok b/src/testdir/test73.ok
index 4dd48fbac..366f95163 100644
--- a/src/testdir/test73.ok
+++ b/src/testdir/test73.ok
@@ -16,3 +16,4 @@ Voyager 1
Voyager 1
Voyager 2
Jimmy Hoffa
+E.T.