patch 8.2.4476: operator name spelled wrong
Problem: Operator name spelled wrong.
Solution: Change trinary to ternary. (Goc Dundar, closes #9850)
diff --git a/src/testdir/test_vim9_expr.vim b/src/testdir/test_vim9_expr.vim
index c4e520b..f9cb62c 100644
--- a/src/testdir/test_vim9_expr.vim
+++ b/src/testdir/test_vim9_expr.vim
@@ -12,7 +12,7 @@
enddef
" test cond ? expr : expr
-def Test_expr1_trinary()
+def Test_expr1_ternary()
var lines =<< trim END
assert_equal('one', true ? 'one' : 'two')
assert_equal('one', 1 ?
@@ -74,7 +74,7 @@
v9.CheckDefAndScriptFailure(lines, ['E1001: Variable not found: FuncOne', 'E121: Undefined variable: FuncTwo'])
enddef
-def Test_expr1_trinary_vimscript()
+def Test_expr1_ternary_vimscript()
# check line continuation
var lines =<< trim END
var name = 1
@@ -170,7 +170,7 @@
v9.CheckDefAndScriptSuccess(lines)
enddef
-func Test_expr1_trinary_fails()
+func Test_expr1_ternary_fails()
call v9.CheckDefAndScriptFailure(["var x = 1 ? 'one'"], "Missing ':' after '?'", 1)
let msg = "White space required before and after '?'"