diff src/testdir/gen_opt_test.vim @ 15004:9c2352253376 v8.1.0513

patch 8.1.0513: no error for set diffopt+=algorithm: commit https://github.com/vim/vim/commit/d0721058f494143186f66a60151c9634031a8c96 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 5 21:21:33 2018 +0100 patch 8.1.0513: no error for set diffopt+=algorithm: Problem: No error for set diffopt+=algorithm:. Solution: Check for missing argument. (Hirohito Higashi, closes https://github.com/vim/vim/issues/3598)
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Nov 2018 21:30:06 +0100
parents 2ad722003b36
children a3e2e7948ee4
line wrap: on
line diff
--- a/src/testdir/gen_opt_test.vim
+++ b/src/testdir/gen_opt_test.vim
@@ -81,7 +81,7 @@ let test_values = {
       \ 'cryptmethod': [['', 'zip'], ['xxx']],
       \ 'cscopequickfix': [['', 's-', 's-,c+,e0'], ['xxx', 's,g,d']],
       \ 'debug': [['', 'msg', 'msg', 'beep'], ['xxx']],
-      \ 'diffopt': [['', 'filler', 'icase,iwhite'], ['xxx']],
+      \ 'diffopt': [['', 'filler', 'icase,iwhite'], ['xxx', 'algorithm:xxx', 'algorithm:']],
       \ 'display': [['', 'lastline', 'lastline,uhex'], ['xxx']],
       \ 'eadirection': [['', 'both', 'ver'], ['xxx', 'ver,hor']],
       \ 'encoding': [['latin1'], ['xxx', '']],