vim-patch:8.2.4476: operator name spelled wrong

Problem:    Operator name spelled wrong.
Solution:   Change trinary to ternary. (Goc Dundar, closes vim/vim#9850)

e41c1dd889

Co-authored-by: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>
This commit is contained in:
zeertzjq 2023-04-15 17:04:04 +08:00
parent 408e5d16a9
commit 1b556c04bf
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ func Test_version()
call assert_false(has('patch-9.9.1'))
endfunc
func Test_op_trinary()
func Test_op_ternary()
let lines =<< trim END
call assert_equal('yes', 1 ? 'yes' : 'no')
call assert_equal('no', 0 ? 'yes' : 'no')

View File

@ -7267,7 +7267,7 @@ func Test_typed_script_var()
endfunc
" Test for issue6776 {{{1
func Test_trinary_expression()
func Test_ternary_expression()
try
call eval('0 ? 0')
catch