Mercurial > vim
comparison src/testdir/test_terminal.vim @ 19324:276e24e916d5 v8.2.0220
patch 8.2.0220: terminal test did pass on Mac
Commit: https://github.com/vim/vim/commit/1af5ce01c333ed8be57f15dd7ba7846ac4760810
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 6 11:54:35 2020 +0100
patch 8.2.0220: terminal test did pass on Mac
Problem: Terminal test did pass on Mac.
Solution: Remove the skip again.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 Feb 2020 12:00:04 +0100 |
parents | 00d52ef425a4 |
children | 77794a1d7e98 |
comparison
equal
deleted
inserted
replaced
19323:af8116c90200 | 19324:276e24e916d5 |
---|---|
2357 call term_sendkeys(buf, ":call OpenTerm(1)\<CR>") | 2357 call term_sendkeys(buf, ":call OpenTerm(1)\<CR>") |
2358 call term_sendkeys(buf, ":set hlsearch\<CR>") | 2358 call term_sendkeys(buf, ":set hlsearch\<CR>") |
2359 call term_sendkeys(buf, "/edit\<CR>") | 2359 call term_sendkeys(buf, "/edit\<CR>") |
2360 call VerifyScreenDump(buf, 'Test_terminal_popup_3', {}) | 2360 call VerifyScreenDump(buf, 'Test_terminal_popup_3', {}) |
2361 | 2361 |
2362 " TODO: somehow this causes the job to keep running on Mac | 2362 call term_sendkeys(buf, "\<C-W>:call HidePopup()\<CR>") |
2363 if !has('mac') | 2363 call VerifyScreenDump(buf, 'Test_terminal_popup_4', {}) |
2364 call term_sendkeys(buf, "\<C-W>:call HidePopup()\<CR>") | 2364 call term_sendkeys(buf, "\<CR>") |
2365 call VerifyScreenDump(buf, 'Test_terminal_popup_4', {}) | 2365 call term_wait(buf, 50) |
2366 call term_sendkeys(buf, "\<CR>") | |
2367 endif | |
2368 | 2366 |
2369 call term_sendkeys(buf, ":q\<CR>") | 2367 call term_sendkeys(buf, ":q\<CR>") |
2370 call term_wait(buf, 100) " wait for terminal to vanish | 2368 call term_wait(buf, 100) " wait for terminal to vanish |
2371 | 2369 |
2372 call StopVimInTerminal(buf) | 2370 call StopVimInTerminal(buf) |