commit 1b556c04bfd3f4c381db5f62a2e25ebf63165712
parent 408e5d16a9ecce7e4107298faf3e8f36f0712495
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat, 15 Apr 2023 17:04:04 +0800
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)
https://github.com/vim/vim/commit/e41c1dd8890d3f701253255993f4e9af2d12225c
Co-authored-by: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/old/testdir/test_expr.vim b/test/old/testdir/test_expr.vim
@@ -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')
diff --git a/test/old/testdir/test_vimscript.vim b/test/old/testdir/test_vimscript.vim
@@ -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