From b41ebe3e816b111ffff5dcece0a12117e9f3a205 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 25 May 2019 15:21:09 -0400 Subject: 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 --- src/nvim/testdir/test_modeline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit