From d732f9aee0926487514f30d299d91a43afd3b458 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 15 Aug 2010 13:29:11 +0200 Subject: Two fixes for :find completion and more testing. (Nazri Ramliy) --- src/testdir/test73.in | 8 ++++++++ src/testdir/test73.ok | 1 + 2 files changed, 9 insertions(+) (limited to 'src/testdir') 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. -- cgit v1.2.3