comparison src/testdir/test_messages.vim @ 20603:c2570baa2e4c v8.2.0855

patch 8.2.0855: GUI tests fail because the test doesn't use a modifier Commit: https://github.com/vim/vim/commit/ebe9d34aa07037cff2188a8dd424ee1f59cbb0bf Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 30 21:52:54 2020 +0200 patch 8.2.0855: GUI tests fail because the test doesn't use a modifier Problem: GUI tests fail because the test doesn't use a modifier. Solution: Add "\{xxx}" to be able to encode a modifier.
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 22:00:04 +0200
parents 5995db0fe84a
children 116c7bd5e980
comparison
equal deleted inserted replaced
20602:67dccb63d65c 20603:c2570baa2e4c
307 endfunc 307 endfunc
308 308
309 func Test_mapping_at_hit_return_prompt() 309 func Test_mapping_at_hit_return_prompt()
310 nnoremap <C-B> :echo "hit ctrl-b"<CR> 310 nnoremap <C-B> :echo "hit ctrl-b"<CR>
311 call feedkeys(":ls\<CR>", "xt") 311 call feedkeys(":ls\<CR>", "xt")
312 call feedkeys("\<C-B>", "xt") 312 call feedkeys("\{C-B}", "xt")
313 call assert_match('hit ctrl-b', Screenline(&lines - 1)) 313 call assert_match('hit ctrl-b', Screenline(&lines - 1))
314 nunmap <C-B> 314 nunmap <C-B>
315 endfunc 315 endfunc
316 316
317 " vim: shiftwidth=2 sts=2 expandtab 317 " vim: shiftwidth=2 sts=2 expandtab