Mercurial > vim
diff src/testdir/test_options.vim @ 19752:0927df746554 v8.2.0432
patch 8.2.0432: a few tests fail in a huge terminal
Commit: https://github.com/vim/vim/commit/ab505b1a4868b3e21356f95a275537551700c955
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 23 19:28:44 2020 +0100
patch 8.2.0432: a few tests fail in a huge terminal
Problem: A few tests fail in a huge terminal.
Solution: Make the tests pass. (Dominique Pelle, closes https://github.com/vim/vim/issues/5829)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 23 Mar 2020 19:30:06 +0100 |
parents | a653d1a165ef |
children | 031184ace7c5 |
line wrap: on
line diff
--- a/src/testdir/test_options.vim +++ b/src/testdir/test_options.vim @@ -396,8 +396,7 @@ endfunc func Test_set_one_column() let out_mult = execute('set all')->split("\n") let out_one = execute('set! all')->split("\n") - " one column should be two to four times as many lines - call assert_inrange(len(out_mult) * 2, len(out_mult) * 4, len(out_one)) + call assert_true(len(out_mult) < len(out_one)) endfunc func Test_set_values()