comparison src/testdir/test_global.vim @ 19738:0208534b8a84 v8.2.0425

patch 8.2.0425: code for modeless selection not sufficiently tested Commit: https://github.com/vim/vim/commit/515545e11f523d14343b1e588dc0b9bd3d362bc2 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 22 14:08:59 2020 +0100 patch 8.2.0425: code for modeless selection not sufficiently tested Problem: Code for modeless selection not sufficiently tested. Solution: Add tests. Move mouse code functionality to a common script file. (Yegappan Lakshmanan, closes #5821)
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 Mar 2020 14:15:04 +0100
parents cb73f4ae6b7c
children ec89debe5037
comparison
equal deleted inserted replaced
19737:5591829276ff 19738:0208534b8a84
3 new 3 new
4 call setline(1, ['a', 'b', 'c']) 4 call setline(1, ['a', 'b', 'c'])
5 set clipboard=unnamed 5 set clipboard=unnamed
6 g/^/normal yyp 6 g/^/normal yyp
7 call assert_equal(['a', 'a', 'b', 'b', 'c', 'c'], getline(1, 6)) 7 call assert_equal(['a', 'a', 'b', 'b', 'c', 'c'], getline(1, 6))
8 8 set clipboard=unnamed,unnamedplus
9 call setline(1, ['a', 'b', 'c'])
10 g/^/normal yyp
11 call assert_equal(['a', 'a', 'b', 'b', 'c', 'c'], getline(1, 6))
9 set clipboard& 12 set clipboard&
10 bwipe! 13 bwipe!
11 endfunc 14 endfunc
12 15
13 func Test_nested_global() 16 func Test_nested_global()