Mercurial > vim
comparison src/testdir/test_quickfix.vim @ 18697:c035b4fa4bc5 v8.1.2340
patch 8.1.2340: quickfix test fails under valgrind and asan
Commit: https://github.com/vim/vim/commit/a106e6cde682bda4ad10ed745acb51975fcb02e0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 24 22:13:58 2019 +0100
patch 8.1.2340: quickfix test fails under valgrind and asan
Problem: Quickfix test fails under valgrind and asan.
Solution: Make sure long line does not overflow IObuff. (Dominique Pelle,
closes #5263) Put back fix for large terminals. (Yegappan
Lakshmanan, closes #5264)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 24 Nov 2019 22:15:03 +0100 |
parents | 48ded92ce361 |
children | 97d534e17874 |
comparison
equal
deleted
inserted
replaced
18696:a05e744cf4f3 | 18697:c035b4fa4bc5 |
---|---|
624 let w2 = win_getid() | 624 let w2 = win_getid() |
625 Xnext | 625 Xnext |
626 let w3 = win_getid() | 626 let w3 = win_getid() |
627 call assert_true(&buftype == 'help') | 627 call assert_true(&buftype == 'help') |
628 call assert_true(winnr() == 1) | 628 call assert_true(winnr() == 1) |
629 call win_gotoid(w1) | 629 " See jump_to_help_window() for details |
630 call assert_equal(w3, win_getid(winnr('k'))) | 630 let w2_width = winwidth(w2) |
631 call win_gotoid(w2) | 631 if w2_width != &columns && w2_width < 80 |
632 call assert_equal(w3, win_getid(winnr('k'))) | 632 call assert_equal(['col', [['leaf', w3], |
633 \ ['row', [['leaf', w2], ['leaf', w1]]]]], winlayout()) | |
634 else | |
635 call assert_equal(['row', [['col', [['leaf', w3], ['leaf', w2]]], | |
636 \ ['leaf', w1]]] , winlayout()) | |
637 endif | |
633 | 638 |
634 new | only | 639 new | only |
635 set buftype=help | 640 set buftype=help |
636 set modified | 641 set modified |
637 call assert_fails('Xnext', 'E37:') | 642 call assert_fails('Xnext', 'E37:') |