diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-10-27 01:35:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-10-27 01:35:00 +0200 |
commit | 2a45d64d0a7ab28d77eee277244e76dbbf8c2db8 (patch) | |
tree | 221caa93ee894b89d8792f16759a4a636a4a875c /src/testdir/test_popup.vim | |
parent | ee03b941241eae1d36bc29b84eec09116cefe7cd (diff) | |
download | vim-git-2a45d64d0a7ab28d77eee277244e76dbbf8c2db8.tar.gz |
patch 8.0.1226: edit and popup tests failingv8.0.1226
Problem: Edit and popup tests failing.
Solution: Make the tests pass.
Diffstat (limited to 'src/testdir/test_popup.vim')
-rw-r--r-- | src/testdir/test_popup.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim index ac8f62e8a..1be4e6fd3 100644 --- a/src/testdir/test_popup.vim +++ b/src/testdir/test_popup.vim @@ -681,7 +681,8 @@ func Test_popup_and_preview_autocommand() call setline(2, ' os.') $ call feedkeys("A\<C-X>\<C-O>\<C-N>\<C-N>\<C-N>\<enter>\<esc>", 'tx') - call assert_equal(["import os", " os.EX_IOERR", ''], getline(1,'$')) + call assert_equal("import os", getline(1)) + call assert_match(' os.\(EX_IOERR\|O_CREAT\)$', getline(2)) call assert_equal(1, winnr('$')) " previewwindow option is not set call assert_equal(0, &previewwindow) |