Mercurial > vim
comparison src/testdir/test_terminal2.vim @ 22161:4373f3569140 v8.2.1630
patch 8.2.1630: terminal test fails
Commit: https://github.com/vim/vim/commit/c98cdb3bc970f04f93b4c394b4ec94c2eb5546c3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 6 21:13:00 2020 +0200
patch 8.2.1630: terminal test fails
Problem: Terminal test fails.
Solution: Correct argument to term_start(). Correct error number.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 06 Sep 2020 21:15:03 +0200 |
parents | f369bbd71a53 |
children | 0ef3ae4ec70e |
comparison
equal
deleted
inserted
replaced
22160:3dfa378dda43 | 22161:4373f3569140 |
---|---|
558 call assert_match('^\\\\.\\pipe\\', gettty0) | 558 call assert_match('^\\\\.\\pipe\\', gettty0) |
559 call assert_match('^\\\\.\\pipe\\', gettty1) | 559 call assert_match('^\\\\.\\pipe\\', gettty1) |
560 endif | 560 endif |
561 endif | 561 endif |
562 | 562 |
563 call assert_fails('call term_gettty(buf, 2)', 'E475:') | 563 call assert_fails('call term_gettty(buf, 2)', 'E1023:') |
564 call assert_fails('call term_gettty(buf, -1)', 'E475:') | 564 call assert_fails('call term_gettty(buf, -1)', 'E1023:') |
565 | 565 |
566 call assert_equal('', term_gettty(buf + 1)) | 566 call assert_equal('', term_gettty(buf + 1)) |
567 | 567 |
568 call StopShellInTerminal(buf) | 568 call StopShellInTerminal(buf) |
569 call TermWait(buf) | 569 call TermWait(buf) |