summaryrefslogtreecommitdiff
path: root/src/testdir/test89.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test89.in')
-rw-r--r--src/testdir/test89.in18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/testdir/test89.in b/src/testdir/test89.in
index 8e53c917..fc3a9a29 100644
--- a/src/testdir/test89.in
+++ b/src/testdir/test89.in
@@ -1,6 +1,7 @@
-Some tests for setting 'number' and 'relativenumber'
-This is not all that useful now that the options are no longer reset when
-setting the other.
+- Some tests for setting 'number' and 'relativenumber'
+ This is not all that useful now that the options are no longer reset when
+ setting the other.
+- Some tests for findfile() function
STARTTEST
:so small.vim
@@ -49,6 +50,17 @@ STARTTEST
:$put g
:$put h
:"
+:let cwd=getcwd()
+:cd ../..
+:$put =''
+:$put ='Testing findfile'
+:$put =''
+:$put =findfile('test19.in','src/test*')
+:exe "cd" cwd
+:cd ..
+:$put =findfile('test19.in','test*')
+:$put =findfile('test19.in','testdir')
+:exe "cd" cwd
:/^results/,$w! test.out
:q!
ENDTEST