comparison src/testdir/test_popupwin.vim @ 17421:73e81cd9e6cb v8.1.1709

patch 8.1.1709: Coverity warns for possibly using a NULL pointer commit https://github.com/vim/vim/commit/403d090e39abdc741c1b2ec0a05361cffd348289 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 17 21:37:32 2019 +0200 patch 8.1.1709: Coverity warns for possibly using a NULL pointer Problem: Coverity warns for possibly using a NULL pointer. Solution: Make sure no NULL pointer is used.
author Bram Moolenaar <Bram@vim.org>
date Wed, 17 Jul 2019 21:45:05 +0200
parents aa4532c1d001
children 6e756ad5ef1a
comparison
equal deleted inserted replaced
17420:37a230c53b08 17421:73e81cd9e6cb
631 call assert_fails('call popup_create("text", #{padding: "none"})', 'E714:') 631 call assert_fails('call popup_create("text", #{padding: "none"})', 'E714:')
632 call popup_clear() 632 call popup_clear()
633 call assert_fails('call popup_create("text", #{border: "none"})', 'E714:') 633 call assert_fails('call popup_create("text", #{border: "none"})', 'E714:')
634 call popup_clear() 634 call popup_clear()
635 call assert_fails('call popup_create("text", #{borderhighlight: "none"})', 'E714:') 635 call assert_fails('call popup_create("text", #{borderhighlight: "none"})', 'E714:')
636 call popup_clear()
637 call assert_fails('call popup_create("text", #{borderhighlight: test_null_list()})', 'E714:')
636 call popup_clear() 638 call popup_clear()
637 call assert_fails('call popup_create("text", #{borderchars: "none"})', 'E714:') 639 call assert_fails('call popup_create("text", #{borderchars: "none"})', 'E714:')
638 call popup_clear() 640 call popup_clear()
639 641
640 call assert_fails('call popup_create([#{text: "text"}, 666], {})', 'E715:') 642 call assert_fails('call popup_create([#{text: "text"}, 666], {})', 'E715:')