Mercurial > vim
comparison src/testdir/test_terminal.vim @ 14023:7f5ddc6e715b v8.1.0029
patch 8.1.0029: terminal test fails on MS-Windows when "wc" exists
commit https://github.com/vim/vim/commit/1580f755c91d12a3e63d60eec8733f8b79debc31
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 3 15:26:36 2018 +0200
patch 8.1.0029: terminal test fails on MS-Windows when "wc" exists
Problem: Terminal test fails on MS-Windows when "wc" exists.
Solution: Skip test with redirection on MS-Windows.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 03 Jun 2018 15:30:05 +0200 |
parents | e88e2a8de4c5 |
children | 6d9783027174 |
comparison
equal
deleted
inserted
replaced
14022:2aeb29b7ca4e | 14023:7f5ddc6e715b |
---|---|
577 endfunc | 577 endfunc |
578 | 578 |
579 func Test_terminal_write_stdin() | 579 func Test_terminal_write_stdin() |
580 if !executable('wc') | 580 if !executable('wc') |
581 throw 'skipped: wc command not available' | 581 throw 'skipped: wc command not available' |
582 endif | |
583 if has('win32') | |
584 " TODO: enable once writing to stdin works on MS-Windows | |
585 return | |
582 endif | 586 endif |
583 new | 587 new |
584 call setline(1, ['one', 'two', 'three']) | 588 call setline(1, ['one', 'two', 'three']) |
585 %term wc | 589 %term wc |
586 call WaitForAssert({-> assert_match('3', getline("$"))}) | 590 call WaitForAssert({-> assert_match('3', getline("$"))}) |