Mercurial > vim
comparison src/testdir/test_messages.vim @ 20221:ec0ace1ddc20 v8.2.0666
patch 8.2.0666: Ruby test fails on MS-Windows
Commit: https://github.com/vim/vim/commit/88e6cc253903c86d06abb59b35c85e6aef0152f3
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 30 19:19:29 2020 +0200
patch 8.2.0666: Ruby test fails on MS-Windows
Problem: Ruby test fails on MS-Windows.
Solution: Remove the "maintainer" line. (Ken Takata, closes https://github.com/vim/vim/issues/6015)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 30 Apr 2020 19:30:04 +0200 |
parents | be661435893a |
children | 5995db0fe84a |
comparison
equal
deleted
inserted
replaced
20220:c9f956dfe3a0 | 20221:ec0ace1ddc20 |
---|---|
1 " Tests for :messages, :echomsg, :echoerr | 1 " Tests for :messages, :echomsg, :echoerr |
2 | 2 |
3 source shared.vim | 3 source shared.vim |
4 source term_util.vim | 4 source term_util.vim |
5 | |
6 " Get all messages but drop the maintainer entry. | |
7 func GetMessages() | |
8 redir => result | |
9 redraw | messages | |
10 redir END | |
11 let msg_list = split(result, "\n") | |
12 if msg_list->len() > 0 && msg_list[0] =~ 'Messages maintainer:' | |
13 return msg_list[1:] | |
14 endif | |
15 return msg_list | |
16 endfunc | |
17 | 5 |
18 func Test_messages() | 6 func Test_messages() |
19 let oldmore = &more | 7 let oldmore = &more |
20 try | 8 try |
21 set nomore | 9 set nomore |