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 #11027)
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index d325f19..93cb74d 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -2065,7 +2065,7 @@
let colors[4] = 'Invalid'
call assert_fails('call term_setansicolors(buf, colors)', 'E254:')
- call assert_fails('call term_setansicolors(buf, {})', 'E714:')
+ call assert_fails('call term_setansicolors(buf, {})', 'E1211:')
set tgc&
call StopShellInTerminal(buf)