mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
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:
parent
408e5d16a9
commit
1b556c04bf
@ -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')
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user