comparison 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
comparison
equal deleted inserted replaced
19751:4bed205e29d9 19752:0927df746554
394 endfunc 394 endfunc
395 395
396 func Test_set_one_column() 396 func Test_set_one_column()
397 let out_mult = execute('set all')->split("\n") 397 let out_mult = execute('set all')->split("\n")
398 let out_one = execute('set! all')->split("\n") 398 let out_one = execute('set! all')->split("\n")
399 " one column should be two to four times as many lines 399 call assert_true(len(out_mult) < len(out_one))
400 call assert_inrange(len(out_mult) * 2, len(out_mult) * 4, len(out_one))
401 endfunc 400 endfunc
402 401
403 func Test_set_values() 402 func Test_set_values()
404 if filereadable('opt_test.vim') 403 if filereadable('opt_test.vim')
405 source opt_test.vim 404 source opt_test.vim