Mercurial > vim
comparison src/testdir/test_edit.vim @ 18538:c4d97a18af37 v8.1.2263
patch 8.1.2263: 'noesckeys' test fails in GUI
Commit: https://github.com/vim/vim/commit/215ba3b63698f3755b2c4de66fc728cc14a8a590
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 6 15:07:07 2019 +0100
patch 8.1.2263: 'noesckeys' test fails in GUI
Problem: 'noesckeys' test fails in GUI.
Solution: Skip the test in the GUI.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 06 Nov 2019 15:15:04 +0100 |
parents | 7dd83b5325e9 |
children | 068337e86133 |
comparison
equal
deleted
inserted
replaced
18537:ced72f20e074 | 18538:c4d97a18af37 |
---|---|
1 " Test for edit functions | 1 " Test for edit functions |
2 " | 2 |
3 if exists("+t_kD") | 3 if exists("+t_kD") |
4 let &t_kD="[3;*~" | 4 let &t_kD="[3;*~" |
5 endif | 5 endif |
6 | |
7 source check.vim | |
6 | 8 |
7 " Needed for testing basic rightleft: Test_edit_rightleft | 9 " Needed for testing basic rightleft: Test_edit_rightleft |
8 source view_util.vim | 10 source view_util.vim |
9 | 11 |
10 " Needs to come first until the bug in getchar() is | 12 " Needs to come first until the bug in getchar() is |
1495 set backspace& | 1497 set backspace& |
1496 bwipe! | 1498 bwipe! |
1497 endfunc | 1499 endfunc |
1498 | 1500 |
1499 func Test_edit_noesckeys() | 1501 func Test_edit_noesckeys() |
1502 CheckNotGui | |
1500 new | 1503 new |
1501 | 1504 |
1502 " <Left> moves cursor when 'esckeys' is set | 1505 " <Left> moves cursor when 'esckeys' is set |
1503 exe "set t_kl=\<Esc>OD" | 1506 exe "set t_kl=\<Esc>OD" |
1504 set esckeys | 1507 set esckeys |