aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-12-08 07:01:59 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-12-08 07:06:16 +0800
commit96329910b011414758380e3c27e32c0ae7f43e1e (patch)
tree8cb2e83275826cb83d4ffcd45d062fa7c653cf6a /test
parentf3fa6507f2473d66a4c6172c82dec43bf55f8df6 (diff)
downloadrneovim-96329910b011414758380e3c27e32c0ae7f43e1e.tar.gz
rneovim-96329910b011414758380e3c27e32c0ae7f43e1e.tar.bz2
rneovim-96329910b011414758380e3c27e32c0ae7f43e1e.zip
vim-patch:9.1.0911: Variable name for 'messagesopt' doesn't match short name
Problem: Variable name for 'messagesopt' doesn't match short name (after v9.1.0908) Solution: Change p_meo to p_mopt. Add more details to docs. closes: vim/vim#16182 https://github.com/vim/vim/commit/8cc43daee1f485c9abf1de3c638cce7835b9f861
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/test_messages.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/old/testdir/test_messages.vim b/test/old/testdir/test_messages.vim
index d79bc0fae7..bfead20142 100644
--- a/test/old/testdir/test_messages.vim
+++ b/test/old/testdir/test_messages.vim
@@ -646,12 +646,12 @@ func Test_messagesopt_wait()
" Check hit-enter prompt
call term_sendkeys(buf, ":set messagesopt=hit-enter,history:500\n")
- call term_sendkeys(buf, ":echo 'foo' | echo 'bar' echo 'baz'\n")
+ call term_sendkeys(buf, ":echo 'foo' | echo 'bar' | echo 'baz'\n")
call WaitForAssert({-> assert_equal('Press ENTER or type command to continue', term_getline(buf, 6))})
" Check no hit-enter prompt when "wait:" is set
call term_sendkeys(buf, ":set messagesopt=wait:100,history:500\n")
- call term_sendkeys(buf, ":echo 'foo' | echo 'bar' echo 'baz'\n")
+ call term_sendkeys(buf, ":echo 'foo' | echo 'bar' | echo 'baz'\n")
call WaitForAssert({-> assert_equal(' 0,0-1 All', term_getline(buf, 6))})
" clean up