comparison src/testdir/test_terminal.vim @ 15026:4f679be36482

patch 8.1.0524: terminal test fails on Windows commit https://github.com/vim/vim/commit/c2c02574ec76f8d44b948cede9cca38ac91622de Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 11 23:14:54 2018 +0100 patch 8.1.0524: terminal test fails on Windows Problem: Terminal test fails on Windows. Solution: Skip Test_terminal_does_not_truncate_last_newlines() for now.
author Bram Moolenaar <Bram@vim.org>
date Sun, 11 Nov 2018 23:15:05 +0100
parents f3b4cd98944c
children efd7bace40f4
comparison
equal deleted inserted replaced
15025:556b18843b57 15026:4f679be36482
1658 call WaitForAssert({-> assert_false(bufexists(bnr))}) 1658 call WaitForAssert({-> assert_false(bufexists(bnr))})
1659 call assert_equal(1, winnr('$')) 1659 call assert_equal(1, winnr('$'))
1660 endfunc 1660 endfunc
1661 1661
1662 func Test_terminal_does_not_truncate_last_newlines() 1662 func Test_terminal_does_not_truncate_last_newlines()
1663 let cmd = has('win32') ? 'type' : 'cat' 1663 " FIXME: currently doens't work for Windows
1664 if has('win32')
1665 return
1666 endif
1667
1668 let cmd = 'cat'
1664 let contents = [ 1669 let contents = [
1665 \ [ 'One', '', 'X' ], 1670 \ [ 'One', '', 'X' ],
1666 \ [ 'Two', '', '' ], 1671 \ [ 'Two', '', '' ],
1667 \ [ 'Three' ] + repeat([''], 30) 1672 \ [ 'Three' ] + repeat([''], 30)
1668 \ ] 1673 \ ]