summaryrefslogtreecommitdiffstats
path: root/src/evalfunc.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-05 20:38:22 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-05 20:38:22 +0100
commit07ada5ff2fd8f22ed3233ae5c4ddf87c7b3f56fe (patch)
tree0be9740166fea1f37b2a447558c7eed059b5a671 /src/evalfunc.c
parent94255df057afa0b7dde77612f3274d4440871bd1 (diff)
patch 8.2.0212: missing search/substitute pattern hardly testedv8.2.0212
Problem: Missing search/substitute pattern hardly tested. Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan, closes #5579)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r--src/evalfunc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c
index a79cc89329..aac8ee9058 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -810,6 +810,7 @@ static funcentry_T global_functions[] =
#endif
{"test_alloc_fail", 3, 3, FEARG_1, &t_void, f_test_alloc_fail},
{"test_autochdir", 0, 0, 0, &t_void, f_test_autochdir},
+ {"test_clear_search_pat", 0, 0, 0, &t_void, f_test_clear_search_pat},
{"test_feedinput", 1, 1, FEARG_1, &t_void, f_test_feedinput},
{"test_garbagecollect_now", 0, 0, 0, &t_void, f_test_garbagecollect_now},
{"test_garbagecollect_soon", 0, 0, 0, &t_void, f_test_garbagecollect_soon},