Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a test for use of relative paths

  • Loading branch information...
commit 7200dd30c1b3aa236a88bf8b92c2637bb49d934a 1 parent 68c6e03
@kana authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.