aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-12-03 15:09:46 +0800
committerGitHub <noreply@github.com>2022-12-03 15:09:46 +0800
commit8f1ef3687554b25c46486f4a67df75cad9ae7357 (patch)
treea2fd77936548bdeeaf4291cd7ec0c313bb40376a /runtime
parentaa492127311692a576d308db3afbd3bba0fead00 (diff)
parent7d283d21390e061d35888b66a15a00898c8af2ff (diff)
downloadrneovim-8f1ef3687554b25c46486f4a67df75cad9ae7357.tar.gz
rneovim-8f1ef3687554b25c46486f4a67df75cad9ae7357.tar.bz2
rneovim-8f1ef3687554b25c46486f4a67df75cad9ae7357.zip
Merge pull request #21270 from zeertzjq/vim-8.2.1420
vim-patch:8.2.{1420,1440}: test 49 is old style
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/testing.txt14
1 files changed, 4 insertions, 10 deletions
diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt
index 56e0dad656..ef5e179c86 100644
--- a/runtime/doc/testing.txt
+++ b/runtime/doc/testing.txt
@@ -20,17 +20,11 @@ and for testing plugins.
Vim can be tested after building it, usually with "make test".
The tests are located in the directory "src/testdir".
-There are several types of tests added over time:
- test33.in oldest, don't add any of these
- test_something.in old style tests
- test_something.vim new style tests
-
*new-style-testing*
-New tests should be added as new style tests. These use functions such as
-|assert_equal()| to keep the test commands and the expected result in one
-place.
- *old-style-testing*
-In some cases an old style test needs to be used.
+New tests should be added as new style tests. The test scripts are named
+test_<feature>.vim (replace <feature> with the feature under test). These use
+functions such as |assert_equal()| to keep the test commands and the expected
+result in one place.
Find more information in the file src/testdir/README.txt.