aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-15 17:04:04 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-04-15 17:15:04 +0800
commit1b556c04bfd3f4c381db5f62a2e25ebf63165712 (patch)
tree3b019807e8e654cb779463008a438450174b4faf
parent408e5d16a9ecce7e4107298faf3e8f36f0712495 (diff)
downloadrneovim-1b556c04bfd3f4c381db5f62a2e25ebf63165712.tar.gz
rneovim-1b556c04bfd3f4c381db5f62a2e25ebf63165712.tar.bz2
rneovim-1b556c04bfd3f4c381db5f62a2e25ebf63165712.zip
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>
-rw-r--r--test/old/testdir/test_expr.vim2
-rw-r--r--test/old/testdir/test_vimscript.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/old/testdir/test_expr.vim b/test/old/testdir/test_expr.vim
index 3e5b21a07c..c8b7fde100 100644
--- 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
index b5578f7f68..81ccee9f13 100644
--- 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