diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-25 15:21:09 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-25 15:23:26 -0400 |
commit | b41ebe3e816b111ffff5dcece0a12117e9f3a205 (patch) | |
tree | 1f4982bfa29844a85e13c437fbcd4ecae54a5f94 | |
parent | 0422cbae6b4e37676eaffb955648989801e0902b (diff) | |
download | rneovim-b41ebe3e816b111ffff5dcece0a12117e9f3a205.tar.gz rneovim-b41ebe3e816b111ffff5dcece0a12117e9f3a205.tar.bz2 rneovim-b41ebe3e816b111ffff5dcece0a12117e9f3a205.zip |
vim-patch:8.1.0506: modeline test fails when run by root
Problem: Modeline test fails when run by root.
Solution: Set 'modeline' for the test. (James McCoy, closes vim/vim#3592)
https://github.com/vim/vim/commit/9691f82f862ed18c2e3e48f9d2cd902bb947f803
N/A patches:
vim-patch:8.1.0208: file left behind after running individual test
-rw-r--r-- | src/nvim/testdir/test_modeline.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_modeline.vim b/src/nvim/testdir/test_modeline.vim index 1d9479407b..4b3fc2021d 100644 --- a/src/nvim/testdir/test_modeline.vim +++ b/src/nvim/testdir/test_modeline.vim @@ -1,7 +1,7 @@ " Tests for parsing the modeline. func Test_modeline_invalid() - " This was reading before allocated memory. + " This was reading allocated memory in the past. call writefile(['vi:0', 'nothing'], 'Xmodeline') let modeline = &modeline set modeline |