aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/testdir/test_fileformat.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_fileformat.vim b/src/nvim/testdir/test_fileformat.vim
index 3de7d38831..465613f1cf 100644
--- a/src/nvim/testdir/test_fileformat.vim
+++ b/src/nvim/testdir/test_fileformat.vim
@@ -36,9 +36,9 @@ endfunc
func Test_fileformat_plusplus_read()
new
call setline(1, ['one', 'two', 'three'])
- set ff=unix
w ++ff=dos Xfile1
enew!
+ set ff=unix
" A :read doesn't change the fileformat, but does apply to the read lines.
r ++fileformat=unix Xfile1
call assert_equal('unix', &fileformat)