Mercurial > vim
view src/testdir/test_langmap.vim @ 15168:1cc5524d1081 v8.1.0594
patch 8.1.0594: libvterm tests fail to run on Mac
commit https://github.com/vim/vim/commit/8b321d6a521e76c5cbe640272574e4fbd42cba9b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 15 15:39:28 2018 +0100
patch 8.1.0594: libvterm tests fail to run on Mac
Problem: Libvterm tests fail to run on Mac.
Solution: Only run libvterm tests on Linux.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 Dec 2018 15:45:05 +0100 |
parents | 1a595b2a4d5e |
children | f38fcbf343ce |
line wrap: on
line source
" tests for 'langmap' if !has('langmap') finish endif func Test_langmap() new set langmap=}l,^x,%v call setline(1, ['abc']) call feedkeys('gg0}^', 'tx') call assert_equal('ac', getline(1)) " in Replace mode " need silent! to avoid a delay when entering Insert mode call setline(1, ['abcde']) silent! call feedkeys("gg0lR%{z\<Esc>00", 'tx') call assert_equal('a%{ze', getline(1)) " in Select mode " need silent! to avoid a delay when entering Insert mode call setline(1, ['abcde']) silent! call feedkeys("gg0}%}\<C-G>}^\<Esc>00", 'tx') call assert_equal('a}^de', getline(1)) quit! endfunc