Skip to content
Browse files

Add a test for use of relative paths

  • Loading branch information...
1 parent 68c6e03 commit 7200dd30c1b3aa236a88bf8b92c2637bb49d934a @kana committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 t/runtimepath.vim
View
5 t/runtimepath.vim
@@ -15,4 +15,9 @@ describe 'bin/vspec'
Expect stridx(ds[0], $HOME) != -1
Expect stridx(ds[-1], $HOME) != -1
end
+
+ it 'should not use relative paths for &runtimepath'
+ let p = '\v(^|\,)\.(\/|\\|\,|$)'
+ Expect &runtimepath !~# p
+ end
end

0 comments on commit 7200dd3

Please sign in to comment.
Something went wrong with that request. Please try again.