Mercurial > vim
comparison src/testdir/test_popup.vim @ 12887:ffc7004e9041 v8.0.1320
patch 8.0.1320: popup test fails on GUI-only build
commit https://github.com/vim/vim/commit/7221fce8b395972b57aea5f36ba2844fe1d4c259
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 19 20:32:49 2017 +0100
patch 8.0.1320: popup test fails on GUI-only build
Problem: Popup test fails on GUI-only build.
Solution: Don't test balloon_split() when it's not available.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 19 Nov 2017 20:45:05 +0100 |
parents | 058e93aee621 |
children | 5045d3076db0 |
comparison
equal
deleted
inserted
replaced
12886:b959416f83cb | 12887:ffc7004e9041 |
---|---|
702 augroup! MyBufAdd | 702 augroup! MyBufAdd |
703 bw! | 703 bw! |
704 endfunc | 704 endfunc |
705 | 705 |
706 func Test_balloon_split() | 706 func Test_balloon_split() |
707 if !exists('*balloon_split') | |
708 return | |
709 endif | |
707 call assert_equal([ | 710 call assert_equal([ |
708 \ 'one two three four one two three four one two thre', | 711 \ 'one two three four one two three four one two thre', |
709 \ 'e four', | 712 \ 'e four', |
710 \ ], balloon_split( | 713 \ ], balloon_split( |
711 \ 'one two three four one two three four one two three four')) | 714 \ 'one two three four one two three four one two three four')) |