diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-05 20:38:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-05 20:38:22 +0100 |
commit | 07ada5ff2fd8f22ed3233ae5c4ddf87c7b3f56fe (patch) | |
tree | 0be9740166fea1f37b2a447558c7eed059b5a671 /runtime/doc/testing.txt | |
parent | 94255df057afa0b7dde77612f3274d4440871bd1 (diff) | |
download | vim-git-07ada5ff2fd8f22ed3233ae5c4ddf87c7b3f56fe.tar.gz |
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 'runtime/doc/testing.txt')
-rw-r--r-- | runtime/doc/testing.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt index c5fa2e83c..7fb24e630 100644 --- a/runtime/doc/testing.txt +++ b/runtime/doc/testing.txt @@ -52,6 +52,11 @@ test_autochdir() *test_autochdir()* startup has finished. +test_clear_search_pat() *test_clear_search_pat()* + Clears the last used search pattern (|/|) and the substitute + pattern (|:s|). This is useful for testing conditions where + these patterns are not set previously. + test_feedinput({string}) *test_feedinput()* Characters in {string} are queued for processing as if they were typed by the user. This uses a low level input buffer. |