diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-11-22 07:24:26 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-11-22 07:27:13 +0900 |
commit | d152e2f3fd70fe76a6f6453754c0ed848ccef8c6 (patch) | |
tree | 3b751ba471b5dd7651f93a6111abda4d0756adeb /test/functional/legacy/060_exists_and_has_functions_spec.lua | |
parent | 5f0260808cf3712718555ee177476b8aefd78280 (diff) | |
download | rneovim-d152e2f3fd70fe76a6f6453754c0ed848ccef8c6.tar.gz rneovim-d152e2f3fd70fe76a6f6453754c0ed848ccef8c6.tar.bz2 rneovim-d152e2f3fd70fe76a6f6453754c0ed848ccef8c6.zip |
vim-patch:7.4.1660
Problem: has('patch-7.4.1') doesn't work.
Solution: Fix off-by-one error. (Thinca)
https://github.com/vim/vim/commit/819821c5a95fc60797ecbb5e5ca1302e397e3d9a
Diffstat (limited to 'test/functional/legacy/060_exists_and_has_functions_spec.lua')
-rw-r--r-- | test/functional/legacy/060_exists_and_has_functions_spec.lua | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/test/functional/legacy/060_exists_and_has_functions_spec.lua b/test/functional/legacy/060_exists_and_has_functions_spec.lua index cbd857c524..3e99f6df57 100644 --- a/test/functional/legacy/060_exists_and_has_functions_spec.lua +++ b/test/functional/legacy/060_exists_and_has_functions_spec.lua @@ -638,15 +638,6 @@ describe('exists() and has() functions', function() call TestExists() - function TestHas() - redir >> test.out - for pl in ['6.9.999', '7.1.999', '7.4.123', '9.1.0', '9.9.1'] - echo 'has patch ' . pl . ': ' . has('patch-' . pl) - endfor - redir END - endfunc - call TestHas() - edit! test.out set ff=unix ]=]) @@ -858,12 +849,7 @@ describe('exists() and has() functions', function() OK g:footest#x = 1 footest#F() 0 - UndefFun() 0 - has patch 6.9.999: 1 - has patch 7.1.999: 1 - has patch 7.4.123: 1 - has patch 9.1.0: 0 - has patch 9.9.1: 0]]) + UndefFun() 0]]) end) end) |