From 2d6d718dde7163c971d37b8f4f1ed8f2d25de130 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Sun, 13 Jun 2021 21:52:48 +0200 Subject: patch 8.2.2994: various code is not fully tested Problem: Various code is not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8378) --- src/vim9compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vim9compile.c') diff --git a/src/vim9compile.c b/src/vim9compile.c index be8f30452..12f41f125 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -454,7 +454,7 @@ item_exists(char_u *name, size_t len, int cmd UNUSED, cctx_T *cctx) if (name[len] == '(' || (p[0] == '-' && p[1] == '>')) { // Do not check for an internal function, since it might also be a - // valid command, such as ":split" versuse "split()". + // valid command, such as ":split" versus "split()". // Skip "g:" before a function name. is_global = (name[0] == 'g' && name[1] == ':'); return find_func(is_global ? name + 2 : name, is_global, cctx) != NULL; -- cgit v1.2.1