summaryrefslogtreecommitdiff
path: root/src/testing.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-05-07 17:55:55 +0200
committerBram Moolenaar <Bram@vim.org>2021-05-07 17:55:55 +0200
commitf18332fb9e2e4208a97d800f096b02c6681780e7 (patch)
tree8cbfcb58bfbe67b2549d76ba721b2db9c33a602b /src/testing.c
parente08795e1ecf0b85751e9f41021603c39ef026d92 (diff)
downloadvim-git-f18332fb9e2e4208a97d800f096b02c6681780e7.tar.gz
patch 8.2.2842: Vim9: skip argument to searchpair() is not compiledv8.2.2842
Problem: Vim9: skip argument to searchpair() is not compiled. Solution: Add VAR_INSTR.
Diffstat (limited to 'src/testing.c')
-rw-r--r--src/testing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testing.c b/src/testing.c
index 740923735..cded3c73a 100644
--- a/src/testing.c
+++ b/src/testing.c
@@ -1023,6 +1023,7 @@ f_test_refcount(typval_T *argvars, typval_T *rettv)
case VAR_FLOAT:
case VAR_SPECIAL:
case VAR_STRING:
+ case VAR_INSTR:
break;
case VAR_JOB:
#ifdef FEAT_JOB_CHANNEL