comparison src/testdir/test_terminal.vim @ 30015:adb0de8be4ce v9.0.0345

patch 9.0.0345: error message for list argument could be clearer Commit: https://github.com/vim/vim/commit/d83392a43a48c566c0f3b76382a3648584dae32b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 1 12:22:46 2022 +0100 patch 9.0.0345: error message for list argument could be clearer Problem: Error message for list argument could be clearer. Solution: Include the argument number. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/11027)
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Sep 2022 13:30:05 +0200
parents 86eb4aba16c3
children 13b02c1ea0f7
comparison
equal deleted inserted replaced
30014:3fb163e2ef6c 30015:adb0de8be4ce
2063 \] 2063 \]
2064 eval buf->term_setansicolors(colors) 2064 eval buf->term_setansicolors(colors)
2065 2065
2066 let colors[4] = 'Invalid' 2066 let colors[4] = 'Invalid'
2067 call assert_fails('call term_setansicolors(buf, colors)', 'E254:') 2067 call assert_fails('call term_setansicolors(buf, colors)', 'E254:')
2068 call assert_fails('call term_setansicolors(buf, {})', 'E714:') 2068 call assert_fails('call term_setansicolors(buf, {})', 'E1211:')
2069 set tgc& 2069 set tgc&
2070 2070
2071 call StopShellInTerminal(buf) 2071 call StopShellInTerminal(buf)
2072 call assert_equal(0, term_setansicolors(buf, [])) 2072 call assert_equal(0, term_setansicolors(buf, []))
2073 exe buf . 'bwipe' 2073 exe buf . 'bwipe'