summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_expr.vim
diff options
context:
space:
mode:
author=?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>2022-02-26 11:46:13 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-26 11:46:13 +0000
commite41c1dd8890d3f701253255993f4e9af2d12225c (patch)
treef1494998cfabbd084e7e5bf063d1aa53eae37176 /src/testdir/test_expr.vim
parent4df5b33f206210fec2a0297aea27e7db8b5173c0 (diff)
patch 8.2.4476: operator name spelled wrongv8.2.4476
Problem: Operator name spelled wrong. Solution: Change trinary to ternary. (Goc Dundar, closes #9850)
Diffstat (limited to 'src/testdir/test_expr.vim')
-rw-r--r--src/testdir/test_expr.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_expr.vim b/src/testdir/test_expr.vim
index 7a998bc307..40c1701df7 100644
--- a/src/testdir/test_expr.vim
+++ b/src/testdir/test_expr.vim
@@ -43,7 +43,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')