comparison src/testdir/test_options.vim @ 19906:031184ace7c5 v8.2.0509

patch 8.2.0509: various code is not properly tested. Commit: https://github.com/vim/vim/commit/cde0ff39da2459b16007fef701ebaa449fb6fe9d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 4 14:00:39 2020 +0200 patch 8.2.0509: various code is not properly tested. Problem: various code is not properly tested. Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5871)
author Bram Moolenaar <Bram@vim.org>
date Sat, 04 Apr 2020 14:15:05 +0200
parents 0927df746554
children 2c4d9ca33769
comparison
equal deleted inserted replaced
19905:a1a00030eedc 19906:031184ace7c5
1 " Test for options 1 " Test for options
2 2
3 source check.vim 3 source check.vim
4 source view_util.vim
4 5
5 func Test_whichwrap() 6 func Test_whichwrap()
6 set whichwrap=b,s 7 set whichwrap=b,s
7 call assert_equal('b,s', &whichwrap) 8 call assert_equal('b,s', &whichwrap)
8 9
705 unlet g:l 706 unlet g:l
706 set rightleftcmd& 707 set rightleftcmd&
707 set rightleft& 708 set rightleft&
708 endfunc 709 endfunc
709 710
711 " Test for the "debug" option
712 func Test_debug_option()
713 set debug=beep
714 exe "normal \<C-c>"
715 call assert_equal('Beep!', Screenline(&lines))
716 set debug&
717 endfunc
718
710 " vim: shiftwidth=2 sts=2 expandtab 719 " vim: shiftwidth=2 sts=2 expandtab